You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently generated a map and found that Minecraft would take minutes to render the chunks. I eventually discovered that Minecraft stores the integers in the HeightMap structure of a chunk as 0x??00_0000 while TMCMG stores it as 0x??FF_FFFF (using Java 8 update 131). Changing the function setLightHeight in ChunkData from:
I recently generated a map and found that Minecraft would take minutes to render the chunks. I eventually discovered that Minecraft stores the integers in the HeightMap structure of a chunk as 0x??00_0000 while TMCMG stores it as 0x??FF_FFFF (using Java 8 update 131). Changing the function setLightHeight in ChunkData from:
lightHeightData[lightHeightIndex(x,z)] = (byte)(height);
to
lightHeightData[lightHeightIndex(x,z)] = (byte)(height) & 0x000000ff;
fixed the issue on my system.
The text was updated successfully, but these errors were encountered: