mojira.dev
MC-269617

When ender pearls teleport non-player entities, no teleportation sound is played upon impact

— Thrown Ender Pearls produce a teleportation sound on impact 
as per the following change: https://www.minecraft.net/en-us/article/minecraft-snapshot-23w43a.
This holds true when teleporting players, but not when teleporting non-player entities.

Steps to replicate

  1. Feel free to enter the End dimension if you wish

  2. Summon a polar bear into existence

  3. Launch an ender pearl.

  4. Execute the following command before the ender pearl lands:

    /execute as @e[type=minecraft:ender_pearl] at @s run data modify entity @s Owner set from entity @e[type=minecraft:polar_bear,limit=1] UUID
  5. Launch an ender pearl.

  6. Execute the following command before the ender pearl lands:

    /execute as @e[type=minecraft:ender_pearl] at @s run data modify entity @s Owner set from entity @e[type=minecraft:ender_dragon,limit=1] UUID

Observed & Expected Behavior:

❌ - No teleportation sound was heard when teleporting the mob.
✔ - A teleportation sound should occur, akin to when players are teleported by ender pearls.

Linked issues

Attachments

Comments 3

When addressing this issue, ensure that the fix also covers non-living entities such as minecarts, etc., and ender dragons (as depicted in the video). It's important to note that ender pearls have the ability to teleport any entity, regardless of whether it is living or non-living.

Paintings are invisible

[Mod] Jingy

(Unassigned)

Confirmed

Platform

Low

Commands, Sound

ender_pearl

1.20.4, 24w11a, 24w12a

1.21 Pre-Release 1

Retrieved