When the gamerule "enderPearlsVanishOnDeath" is set to true, Ender pearls belonging to non-player entities do not disappear upon the entity's death
If the "enderPearlsVanishOnDeath" gamerule is enabled, Ender pearls disappear upon the death of their owner. However, this rule only affects player-owned Ender pearls and does not apply to those owned by non-player entities. Relates to MC-269615 and MC-269617.
Steps to reproduce
- Construct a bubble column enabling endless bouncing for Ender pearls
- Ensure that the gamerule "enderPearlsVanishOnDeath" is set to true
- Spawn a panda
/execute as @e[type=minecraft:ender_pearl] at @s run data modify entity @s Owner set from entity @e[type=minecraft:panda,limit=1] UUID
- Kill the panda
Observed: The Ender pearl remains present without an owner. Upon allowing the Ender pearl to collide with a block, no entity gets teleported.
Expected: The Ender pearl should disappear since the panda has died.
2024-03-30, 12:25 PM
2024-08-14, 07:26 AM
2024-08-14, 07:26 AM
4
2
-