Jump to content

[1.16.1] Batching block state change


Recommended Posts

In my mod I am changing the state of a large number of blocks every so often. I have noticed that with the greater number of blocks that I change the state, the laggier it gets. I'm currently calling world.setBlockState for every block I want to change. Is there a way I can batch block state updates to the world?

Link to comment
Share on other sites

39 minutes ago, Alpvax said:

I'm not sure how optimised it is.

Its not.

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.


Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.


DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.