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
- Place a repeating command block
- Place a wooden button on the command block
- Put the following command into the repeating command block:
summon ender_pearl ~-1 ~ ~ {Tags:["BugTest"]} - Place a chain command block in which the repeating command block is facing
- 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
- Press the wooden button
- Notice that there is a chance for an endermite to spawn as expected
- 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
- Spawn a husk
- Replace the wooden button with a lever
- 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.
2024-05-30, 09:37 PM
2024-06-19, 02:36 PM
2024-06-19, 02:36 PM
0
0
-