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

/tp command doesn't handle entity tp properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12.2, Minecraft 18w20a
    • None
    • Vanilla
    • Confirmed

      Issue: teleporting a mob to an unloaded chunk will result in the mob not getting saved if player doesn't go to said unloaded chunk.

      Steps to reproduce:
      /summon sheep ~ ~ ~ {Color:1}
      /tp @e[type=sheep] ~ ~ ~+1000
      save and quit the world
      /tp ~ ~ ~+1000 entity orange sheep doesn't exist

      Steps to produce entity not rendering:
      repeat above but, stop before quitting the world
      /tp ~ ~ ~+1000 entity doesn't show up but, you can hear the sheep
      quit world go back in and orange sheep is there

      Solution:
      I don't have a set one since it looks like the world is setting the entity dead or isn't being added to the chunk. In my custom tp command test I forced a chunk to load and it didn't fix this issue. My solution would be to stop the entity from being dead when teleporting, make sure it's added to the chunk so on save it doesn't disappear .

            Unassigned Unassigned
            dragonofthelakeabcd jredfox
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: