public class BlockPointerImpl extends Object implements BlockPointer
| Modifier and Type | Field and Description |
|---|---|
private BlockPos |
pos |
private World |
world |
| Constructor and Description |
|---|
BlockPointerImpl(World world,
BlockPos pos) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BlockEntity> |
getBlockEntity() |
BlockPos |
getBlockPos() |
BlockState |
getBlockState() |
World |
getWorld() |
double |
getX() |
double |
getY() |
double |
getZ() |
public World getWorld()
getWorld in interface WorldPositionpublic double getX()
getX in interface BlockPointergetX in interface Positionpublic double getY()
getY in interface BlockPointergetY in interface Positionpublic double getZ()
getZ in interface BlockPointergetZ in interface Positionpublic BlockPos getBlockPos()
getBlockPos in interface BlockPointerpublic BlockState getBlockState()
getBlockState in interface BlockPointerpublic <T extends BlockEntity> T getBlockEntity()
getBlockEntity in interface BlockPointer