Пример #1
0
 @Override
 public int getBlockLightEmission(int blockId) {
   return Block.e(blockId).m();
 }
Пример #2
0
 @Override
 public int getBlockLightBlocking(int blockId) {
   return Block.e(blockId).k();
 }
Пример #3
0
 @Override
 public boolean setBlockFast(World world, int x, int y, int z, int blockId, byte data) {
   net.minecraft.server.v1_7_R3.World w = ((CraftWorld) world).getHandle();
   Chunk chunk = w.getChunkAt(x >> 4, z >> 4);
   return chunk.a(x & 0x0f, y, z & 0x0f, Block.e(blockId), data);
 }