mojira.dev
MC-272854

Crash when entity is leashed by non-LivingEntity

Summary

When an entity other than LivingEntity or leash knot (such as boats, minecarts, end crystals) uses a lead, the game crashes upon saving. (Relates to MC-272625)

Steps to Reproduce

  1. Summon a Pig.

  2. Summon an End Crystal.

  3. Copy the UUID of the End Crystal with /data get entity @n[type=end_crystal] UUID.

  4. Run /data merge entity @n[type=pig] {leash:{UUID:(insert UUID of end crystal).

  5. The end crystal now leashes the pig.

  6. Pause the game.

Linked issues

Attachments

Comments 2

Can confirm, also affects 1.21 Pre-Release 1. It does not affect 1.20.6.

apple502j

gnembon

1246524

Confirmed

Expansion A

Very Important

Crash

1.21 Pre-Release 2

1.21 Pre-Release 3

Retrieved