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

When the gamerule "enderPearlsVanishOnDeath" is set to true, Ender pearls belonging to non-player entities do not disappear upon the entity's death

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w13a
    • None
    • Community Consensus
    • (Unassigned)

      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

      1. Construct a bubble column enabling endless bouncing for Ender pearls
      2. Ensure that the gamerule "enderPearlsVanishOnDeath" is set to true
      3. Spawn a panda
      4. /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
      1. 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.

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: