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

Wither roses dropped even if doMobLoot is set to false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.3 Pre-Release 4, 20w07a, 20w51a, 1.16.5, 21w06a, 21w08b, 1.17.1, 22w12a
    • Confirmed
    • (Unassigned)

      The bug

      When setting gamerule doMobLoot false, mobs killed by a Wither still drop wither roses, even if other drops do get disabled.

      Code analysis

      For 20w07a using Mojang names

      net.minecraft.world.entity.LivingEntity.createWitherRose(LivingEntity) does not check the doMobLoot (or any other) gamerule when creating the wither rose item entity.

        1. MC-154922.mp4
          3.90 MB
        2. MC-154922.png
          MC-154922.png
          920 kB

            Unassigned Unassigned
            SebSV Sentropic
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: