Mojira Archive
MC-272686

Ender pearls teleporting non-player entities never spawn endermites

When an ender pearl teleports a player, there is a chance that an endermite will spawn at their previous location. However, this does not occur when an ender pearl teleports a non-player entity. Relates to MC-269615, MC-269617 and MC-270153.

Steps to reproduce

  1. Place a repeating command block
  2. Place a wooden button on the command block
  3. Put the following command into the repeating command block:
    summon ender_pearl ~-1 ~ ~ {Tags:["BugTest"]}
  4. Place a chain command block in which the repeating command block is facing
  5. Put the following command into the chain command block:
    execute as @e[type=minecraft:ender_pearl,tag=BugTest] run data modify entity @s Owner set from entity @p UUID
  6. Press the wooden button
  7. Notice that there is a chance for an endermite to spawn as expected
  8. Change the command in the chain command block to the following command:
    execute as @e[type=minecraft:ender_pearl,tag=BugTest] run data modify entity @s Owner set from entity @n[type=minecraft:husk] UUID
  9. Spawn a husk
  10. Replace the wooden button with a lever
  11. Activate the lever

Observed result: None of the ender pearls teleporting the husk spawn an endermite at the husk's previous location.

Expected result: There should be a chance for an endermite to spawn at the husk's previous location, just like when ender pearls teleport a player.

Invalid

No User

The grandpa of minecraft

2024-05-30, 09:37 PM

2024-06-19, 02:36 PM

2024-06-19, 02:36 PM

0

0

Unconfirmed

(Unassigned)

1.20.6, 1.21 Pre-Release 1

-