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