-
Bug
-
Resolution: Fixed
-
Minecraft 1.13.1
-
Confirmed
The bug
Turtles intentionally drop bowls when killed by a lightning bolt (see MC-125562). The problem is that this is implemented in the code instead of with a loot table. This prevents us from removing this drop, which might be necessary, for example when creating adventure maps.
Apparently loot tables currently do not support most of the criteria which exist for advancements, including checking for the damage source. Maybe it would therefore be a good opportunity to change this
How to reproduce
- Verify that turtles drop bowl when killed by lightning
- Summon multiple turtles
- Set up a command block which constantly makes items invulnerable, otherwise the lightning bolt might destroy most of the bowls
execute as @e[type=item] run data merge entity @s {Invulnerable:1b}
- Spawn a lightning bolt near the turtles
- Look at the loot table of turtles (loot_tables_/entities/turtle.json)
→ It does not contain an entry for bowls, which means they are hardcoded
- relates to
-
MC-125562 Turtles drop bowls when killed by lightning
- Resolved