[MC-8510] Gamerule doMobLoot doesn't affect xp drops Created: 27/Jan/13  Updated: 07/Aug/20  Resolved: 31/Jan/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.7, Snapshot 13w04a
Fix Version/s: Snapshot 13w05a

Type: Bug
Reporter: Tim Craftor Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 3
Labels: command, doMobLoot, experience, gamerule

Issue Links:
Duplicate
is duplicated by MC-24947 Multiplayer, Mobs drop xp even with /... Resolved
Relates
relates to MC-28400 Breeding animals gives xp even if doM... Resolved
relates to MC-48011 Ender dragon experience drops are not... Resolved
CHK:
Confirmation Status: Confirmed

 Description   

The gamerule doMobLoot when set to false still allows mobs to drop their xp. I am working on a map where I want to use the xp level as an indicator. When the player then gets more xp, the level is incorrect and leads to wrong behavior.

Steps to reproduce:
1. set gamerule doMobLoot to false
2. Kill a mob or animal
3. See that it drops xp



 Comments   
Comment by [Mod] Ezekiel (ezfe) [ 31/Jan/13 ]

XP is a "loot."

Comment by Mike Dueck [ 31/Jan/13 ]

WHAT!? What if we want xp to be the only thing a mob drops? Rather than have "doMobLoot" affect xp, there should be a new gamerule "doMobXP". I'm using scoreboards for a points system in my map, and want the players to be free to spend their hard earned xp on enchantments. They have to buy food with points, so I dont want rotten flesh dropping. Please address this.

Edit Reason: Silly typo...

Comment by [Mod] Ezekiel (ezfe) [ 27/Jan/13 ]

Confirmed.

Generated at Sun Jan 12 12:18:01 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.