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
Linked issues
Comments 3
This feature is probably critisizing those who hunt wild animals like turtles for meal.
I agree that this isn't should be hardcoded.
Fixed in 18w43a/b/c.
It can be seen clearly in turtle.json now.
I'm still totally confused why this is a easter egg of some sort, and what it could mean. Like... why?