DataPalettes do not work correctly.
davidmayr opened this issue · 1 comments
davidmayr commented
I'm getting an index out of bounds exception on coordinates where it should be fully writable to.
How to reproduce?
Create a new chunk section
ChunkSection chunkSection = new ChunkSection();
attempt to write to position (0, 1, 0) which should be valid since biome palettes should be 4x4x4
chunkSection.getBiomeData().set(0, 1, 0, 5);
And you will receive an index out of bounds exception.