Package net.minecraft.src
Class TileEntityPiston
- java.lang.Object
-
- net.minecraft.src.TileEntity
-
- net.minecraft.src.TileEntityPiston
-
public class TileEntityPiston extends TileEntity
-
-
Field Summary
-
Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
-
-
Constructor Summary
Constructors Constructor Description TileEntityPiston()
TileEntityPiston(int var1, int var2, int var3, boolean var4, boolean var5)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearPistonTileEntity()
int
getBlockMetadata()
@net.minecraft.modding.api.Side.Client float
getOffsetX(float var1)
@net.minecraft.modding.api.Side.Client float
getOffsetY(float var1)
@net.minecraft.modding.api.Side.Client float
getOffsetZ(float var1)
int
getPistonOrientation()
float
getProgress(float var1)
int
getStoredBlockID()
boolean
isExtending()
void
readFromNBT(NBTTagCompound var1)
@net.minecraft.modding.api.Side.Client boolean
shouldRenderHead()
void
updateEntity()
void
writeToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.src.TileEntity
createAndLoadEntity, getBlockType, getDescriptionPacket, getDistanceFrom, invalidate, isInvalid, onInventoryChanged, onTileEntityPowered, updateContainingBlockInfo, validate
-
-
-
-
Method Detail
-
getStoredBlockID
public int getStoredBlockID()
-
getBlockMetadata
public int getBlockMetadata()
- Overrides:
getBlockMetadata
in classTileEntity
-
isExtending
public boolean isExtending()
-
getPistonOrientation
public int getPistonOrientation()
-
shouldRenderHead
@Client public @net.minecraft.modding.api.Side.Client boolean shouldRenderHead()
-
getProgress
public float getProgress(float var1)
-
getOffsetX
@Client public @net.minecraft.modding.api.Side.Client float getOffsetX(float var1)
-
getOffsetY
@Client public @net.minecraft.modding.api.Side.Client float getOffsetY(float var1)
-
getOffsetZ
@Client public @net.minecraft.modding.api.Side.Client float getOffsetZ(float var1)
-
clearPistonTileEntity
public void clearPistonTileEntity()
-
updateEntity
public void updateEntity()
- Overrides:
updateEntity
in classTileEntity
-
readFromNBT
public void readFromNBT(NBTTagCompound var1)
- Overrides:
readFromNBT
in classTileEntity
-
writeToNBT
public void writeToNBT(NBTTagCompound var1)
- Overrides:
writeToNBT
in classTileEntity
-
-