public class BlockSourceImpl extends java.lang.Object implements IBlockSource
Constructor and Description |
---|
BlockSourceImpl(World worldIn,
BlockPos p_i46023_2_) |
Modifier and Type | Method and Description |
---|---|
Block |
getBlock() |
int |
getBlockMetadata() |
BlockPos |
getBlockPos() |
TileEntity |
getBlockTileEntity() |
World |
getWorld() |
double |
getX() |
double |
getY() |
double |
getZ() |
public double getX()
getX
in interface IBlockSource
getX
in interface IPosition
public double getY()
getY
in interface IBlockSource
getY
in interface IPosition
public double getZ()
getZ
in interface IBlockSource
getZ
in interface IPosition
public BlockPos getBlockPos()
getBlockPos
in interface IBlockSource
public Block getBlock()
getBlock
in interface IBlockSource
public int getBlockMetadata()
getBlockMetadata
in interface IBlockSource
public TileEntity getBlockTileEntity()
getBlockTileEntity
in interface IBlockSource