mojira.dev
MC-28400

Breeding animals gives xp even if doMobLoot gamerule is false

Steps to reproduce

  • Spawn in 2 passive mobs (e.g. pig)

  • Type /gamerule doMobLoot false

  • Breed the 2 mobs

  • Observe loot, you will find xp

Linked issues

Comments 7

It isn't really loot. The gamerule applies to killed mobs.

Yes but it is still a drop, and therefore should count

also this game rule was made either for adventure map as well as to prevent having a bunch of xp/items all over your world

This site is for bug reports only. Feature and improvement suggestions are not currently being tracked here.

I have this on some multiplayer servers with any mob spawned from eggs, even though gamerule doMobLoot is false. Any fixes for this? It ruins my redstone, as XP orbs trigger tripwires

if you vote then it is more likely to be seen, and therefore, more likely to be fixed

Atom clark

migrated

Confirmed

doMobLoot

Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2

Minecraft 13w37a

Retrieved