Hbm-s-Nuclear-Tech-GIT/com/hbm/blocks/TileEntityRotationTester.java
2016-01-15 12:15:44 +01:00

19 lines
386 B
Java

package com.hbm.blocks;
import net.minecraft.tileentity.TileEntity;
public class TileEntityRotationTester extends TileEntity {
@Override
public int getBlockMetadata()
{
if (this.blockMetadata == -1)
{
this.blockMetadata = this.worldObj.getBlockMetadata(this.xCoord, this.yCoord, this.zCoord);
}
return this.blockMetadata;
}
}