Hbm-s-Nuclear-Tech-GIT/com/hbm/tileentity/TileEntityRotationTester.java
2017-04-18 20:53:14 +02:00

19 lines
408 B
Java

package com.hbm.tileentity;
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;
}
}