Mojira Archive
MC-273596

Ender pearls teleporting non-player entities never spawn endermites

The Bug:

Ender pearls teleporting non-player entities never spawn endermites.

When players teleport using ender pearls, there is a chance that an endermite will be spawned. However, when non-player entities teleport using ender pearls, endermites will never be spawned which is inconsistent.

Steps to Reproduce:

  1. Ensure that the "doMobSpawning" gamerule is enabled by using the command provided below.
    /gamerule doMobSpawning true
  2. Summon a repeating command block that constantly summons ender pearls nearby by using the command provided below.
    /setblock ~ ~ ~1 minecraft:repeating_command_block{Command:"summon minecraft:ender_pearl ~-3 ~ ~",auto:1b}
  3. Summon a husk near the command block.
  4. Summon another repeating command block that constantly sets the owner of all the ender pearls to the husk by using the command provided below.
    /setblock ~-1 ~ ~-1 minecraft:repeating_command_block{Command:"execute as @e[type=minecraft:ender_pearl] run data modify entity @s Owner set from entity @n[type=minecraft:husk,limit=1] UUID",auto:1b}
  5. Watch closely for around twenty seconds and observe if any endermites spawn.

Observed Behavior:

Endermites are never spawned.

Expected Behavior:

Endermites would sometimes be spawned, just like how if players were to teleport using ender pearls.

Works As Intended

[Mod] Avoma

2024-06-19, 02:34 PM

2024-06-20, 07:22 AM

2024-06-20, 07:22 AM

1

0

Community Consensus

(Unassigned)

1.21

-