mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
19 lines
390 B
Java
19 lines
390 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;
|
|
}
|
|
|
|
}
|