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

Arrows and tridents spawned with /summon in a world spawn point too far from (0,0) causes game performance to plummet

XMLWordPrintable

    • Confirmed
    • Commands, Items

      The bug

      If the world spawn point is too far from (0,0), summoning an arrow or trident in the air causes the game to lag incredibly (to basically unplayable ticks per second) until the arrow or trident hits a block.

      How to reproduce

      1. Press Alt+F3 and watch the TPS graph
      2. Set the world spawn with /setworldspawn at (0,0)
      3. Run the command with either the given sound or any sound and observe that there is no TPS lag /summon arrow ~ ~50 ~ or /summon trident ~ ~50 ~
      4. Teleport to 1000 ~ 0 and set the world spawn at (1000, 0)
      5. Run the command, but only ONCE (just a few more will cause your game to stop running) /summon arrow ~ ~50 ~ or /summon trident ~ ~50 ~
      6. The further the world spawn is from (0,0), the worse the TPS lag

        1. MCArrowBug.png
          MCArrowBug.png
          1002 kB
        2. level.dat
          3 kB
        3. 19w11b arrow issue.png
          19w11b arrow issue.png
          881 kB

            dinnerbone [Mojang] Nathan Adams
            onnowhere Onnowhere
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: