public class BlockSourceImpl extends java.lang.Object implements IBlockSource
| Constructor and Description |
|---|
BlockSourceImpl(World worldIn,
BlockPos posIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockMetadata() |
BlockPos |
getBlockPos() |
<T extends TileEntity> |
getBlockTileEntity() |
World |
getWorld() |
double |
getX() |
double |
getY() |
double |
getZ() |
public double getX()
getX in interface IBlockSourcegetX in interface IPositionpublic double getY()
getY in interface IBlockSourcegetY in interface IPositionpublic double getZ()
getZ in interface IBlockSourcegetZ in interface IPositionpublic BlockPos getBlockPos()
getBlockPos in interface IBlockSourcepublic int getBlockMetadata()
getBlockMetadata in interface IBlockSourcepublic <T extends TileEntity> T getBlockTileEntity()
getBlockTileEntity in interface IBlockSource