Lag when moving a block above y 128

Started by ZoeZanidoo on

Topic category: Help with modding (Java Edition)

Last seen on 22:12, 24. Aug 2021
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Lag when moving a block above y 128
Sat, 08/21/2021 - 22:46 (edited)

25 tick rate for a custom block going up, from y 128 to 255 when it destroys itself trying to go above that it laggggggs.  Anyone know why, or how to fix it?

EDIT: ok I guess the why is im too far from the blocks even though they are in the same chunk.

EDIT2: fixed it by making a get nearest player proc and stopped floating the blocks when their too far away.  Would still like to know if there's a way to actually fix the lag.

Edited by ZoeZanidoo on Sat, 08/21/2021 - 22:46
Last seen on 00:46, 5. Jun 2023
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This could also be due to…
Mon, 09/06/2021 - 04:58

This could also be due to Minecraft's lighting system. When you place a block high up, it updates each block below it, even if it is air. The reason the lag is worse as you increase the height the block is placed at is due to there being more blocks to update.