Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-271730

When the gamerule doMobLoot is false, Endermen do not drop the blocks they hold upon their demise

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 15w31a, 1.20.6, 24w18a
    • Confirmed
    • Loot tables, Mob behaviour
    • Normal
    • Platform

      Summary:
      Relates to MC-92772. When the gamerule doMobLoot is disabled, endermen do not drop the blocks they carry upon their demise. This behavior can inadvertently result in block deletion, as endermen sporadically acquire blocks.

      Steps to reproduce:

      1. /gamerule doMobLoot true
      2. /summon enderman ~ ~ ~ {Health:1f,carriedBlockState:{Name:"minecraft:anvil"}}
      3. Kill the enderman.
      4. /gamerule doMobLoot false
      5. /summon enderman ~ ~ ~ {Health:1f,carriedBlockState:{Name:"minecraft:anvil"}}
      6. Kill the enderman again

      Observed result:
      Endermen don't drop their block when the gamerule doMobLoot is set to false.

      Expected result:
      Enderman should drop their block when the gamerule doMobLoot is set to false.

      Note:
      It appears that monsters holding items also do not drop them when the gamerule doMobLoot is disabled, suggesting that this behavior might be intentional. However animals still drop their saddles.

      Video:
      enderman not dropping block when doMobLoot false.mp4

            Unassigned Unassigned
            EVGENSYPERPRO [Mod] EVGENSYPERPRO
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: