3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 22:02:50 +02:00

Add a getBlock method in ChunkSection1_9_3_4.java

Dieser Commit ist enthalten in:
Matsv 2017-05-27 16:39:07 +02:00
Ursprung cc64ffff98
Commit 577c8b4eaf

Datei anzeigen

@ -48,8 +48,12 @@ public class ChunkSection1_9_3_4 implements ChunkSection {
}
public int getBlockId(int x, int y, int z) {
return getBlock(x, y, z) >> 4;
}
public int getBlock(int x, int y, int z) {
int index = blocks[index(x, y, z)];
return palette.get(index) >> 4;
return palette.get(index);
}
/**