Renamed TileMeta to TileRotation

This commit is contained in:
modmuss50 2015-09-19 09:31:24 +01:00
parent aacc73102d
commit 148715111f
34 changed files with 54 additions and 68 deletions

View file

@ -6,7 +6,6 @@ import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
public class BlockSupercondensator extends BlockMachineBase {
@ -36,7 +35,7 @@ public class BlockSupercondensator extends BlockMachineBase {
@Override
@SideOnly(Side.CLIENT)
public IIcon getIcon(IBlockAccess blockAccess, int x, int y, int z, int side) {
int metadata = getTileMeta(blockAccess, x, y, z);
int metadata = getTileRotation(blockAccess, x, y, z);
if (side == metadata && blockAccess.getBlockMetadata(x, y, z) == 1) {
return this.iconFront;
}