level.setBlock(pos, Blocks.ICE.defaultBlockState(), 0);
I use this command to set the blockstate in a certain position, but it sometimes does not render until I reload the world.
What does the integer in the command represent, It sometimes renders properly if I change it, but never always works?
Is this integer connected to rendering the change, or do I need to call a different command afterwards to render the change with the client?
Thanks