Interface BlockPointer

All Superinterfaces:
Position
All Known Implementing Classes:
BlockPointerImpl

public interface BlockPointer
extends Position
  • Method Details

    • getX

      double getX()
      Returns the X coordinate.
      Specified by:
      getX in interface Position
    • getY

      double getY()
      Returns the Y coordinate.
      Specified by:
      getY in interface Position
    • getZ

      double getZ()
      Returns the Z coordinate.
      Specified by:
      getZ in interface Position
    • getBlockPos

      BlockPos getBlockPos()
    • getBlockState

      BlockState getBlockState()
    • getBlockEntity

      <T extends BlockEntity> T getBlockEntity()
    • getWorld

      ServerWorld getWorld()