mojira.dev
MC-145438

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

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

Attachments

Comments 10

Can't reproduce - can you check your hard drive usage when you play the sound?

Cannot reproduce either.

Apparently this is only happen on a certain test world of mine. I'm currently trying to see what is causing it. I disabled datapacks and resource packs to see if they were the issue but they were not. I attached a picture showing it happening. Still investigating.

I attached my level.dat file. This is the only thing that needs to be in the world file before I open the world, and the bug will happen.

Found the issue, it has to do with how far the world spawn point is from (0,0), quite odd

I edited your bug report. I hope you do not mind 🙂

Thanks! Had no idea it was just arrows in general, that's not good xP

Seems to be better in 19w11b. @unknown, would you say that this issue is fixed?

It's "better" but not really fixed at all. It still spikes the TPS and freezes the TPS until it finishes which sometimes takes several seconds. I attached an updated image.

onnowhere

Nathan Adams

Confirmed

Commands, Items

/summon, arrow, performance, setworldspawn, trident

Minecraft 19w09a, Minecraft 19w11b

Minecraft 19w14a

Retrieved