обновление интерфейсов пакета mc.core.world.*
выделены методы для локальных и глобальных координат + добавлена документация
This commit is contained in:
@@ -150,11 +150,11 @@ public class ChunkDataPacket implements SCPacket {
|
||||
for (int y = 0; y < 16; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
for (int x = 0; x < 16; x++) {
|
||||
palettedChunkSection.addBlock(chunkSection.getBlock(x, y, z));
|
||||
palettedChunkSection.addSkyLight(chunkSection.getSkyLight(x, y, z));
|
||||
palettedChunkSection.addBlock(chunkSection.getBlockLocal(x, y, z));
|
||||
palettedChunkSection.addSkyLight(chunkSection.getSkyLightLocal(x, y, z));
|
||||
|
||||
if (biomeWrite) {
|
||||
biomes.writeByte(chunkSection.getBiome(x, z).getId());
|
||||
biomes.writeByte(chunkSection.getBiomeLocal(x, z).getId());
|
||||
if (x == 15 && z == 15) {
|
||||
biomeWrite = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user