Exemplo n.º 1
0
 @Override
 public int getLightValue(IBlockAccess world, int x, int y, int z) {
   RgbLightTileEntity entity = (RgbLightTileEntity) (world.getTileEntity(x, y, z));
   return entity.getLightValue();
 }
Exemplo n.º 2
0
 @Override
 public int colorMultiplier(IBlockAccess world, int x, int y, int z) {
   RgbLightTileEntity entity = (RgbLightTileEntity) (world.getTileEntity(x, y, z));
   return entity.getColorInt();
 }