mojira.dev
MC-249898

Sometimes entities create vibrations at the wrong location when they die

Some entities will create vibrations at the wrong location if they are teleported to a different dimension and get killed in the same tick.

The incomplete list of these entities includes markers, armour stands, and area effect clouds.

Reproduce:

  • Download and enable the attached datapack in your world

  • Place a sculk sensor down in the overworld

  • Summon a marker entity (/summon marker) nearby

  • Run execute as @e[type=marker,limit=1,sort=nearest] run function foo:teleport_to_overworld_and_kill

    • Observe that no vibrations are produced

  • Run execute as @e[type=marker,limit=1,sort=nearest] run function foo:teleport_to_the_end_and_kill

    • Observe that a vibration was produced where the marker previously was, despite it having been teleported to the end. This should not happen.

 

  • Try both these commands with other entities not listed above (such as a pig) and observe that neither commands produce vibrations

 

Note that the functions foo:teleport_to_overworld_and_kill and foo:teleport_to_the_end_and_kill differ only by what dimension the teleport command is executed in.

Attachments

Comments 2

Are there any entities that have this issue that is not listed in MC-220397?

DorkOrc

(Unassigned)

Unconfirmed

22w13a

Retrieved