Hitching when placing or removing blocks
Chinguuuu opened this issue · 3 comments
I've noticed when placing or removing a block, (grass in this case), there is a noticeable hitch. Persistently removing and placing a block quickly, the framerate reports significantly lower frames as a result of the hitching. I removed the mod and noticed no recognizable hitching but I could be wrong.
Edit: Unfortunately in my limited testing, it seems the problem persists regardless of whether ModernFix is installed or not. I would welcome any feedback regarding a fix but otherwise, I think this issue should be considered closed. Sorry about that.
Unfortunately in my limited testing, it seems the problem persists regardless of whether ModernFix is installed or not. I would welcome any feedback regarding a fix but otherwise, I think this issue should be considered closed. Sorry about that.
You can try enabling Sodium's "Always Defer Chunk Updates" option. The reason this issue occurs is that the game attempts to immediately re-render the chunk if you break a block nearby, instead of deferring the work to another thread (which reduces the FPS impact). This is because you could otherwise see weird visual behavior such as the block being broken but not actually disappearing until half a second later. If that behavior is fine for you, enabling that option may help.
Sure, here it is. I was spamming breaking placing a dirt block in one space for 30 seconds. https://spark.lucko.me/XCWg2hMzws
Also, here is the TPS graph before:
Here it is while breaking and placing. I understand if this is not the right place to ask for support. Feel free to close this issue whenever.
I tried without the particles and it was still the same.