Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-272854

Crash when entity is leashed by non-LivingEntity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21 Pre-Release 3
    • 1.21 Pre-Release 2
    • None
    • Confirmed
    • Crash
    • Very Important
    • 1246524
    • Expansion A

      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.

            gnembon [Mojang] Gnembon
            apple502j apple502j
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: