}
} :
new LightGenerator() {
@Override
public int getEmittedLight(int x, int y, int z) {
CuboidBlockMaterialBuffer b = materialBuffers[1][1][1];
if (b == null) {
return 0;
}
BlockMaterial m = b.get(bx + x, by + y, bz + z);
short data = b.getData(bx + x, by + y, bz + z);
return m.getLightLevel(data);
}
};
boolean failure = false;
for (int x = 0; x < Chunk.BLOCKS.SIZE; x++) {