Interface IPos


public interface IPos
All the methods in IPos create a new IPos object
  • Method Details

    • getX

      int getX()
    • getY

      int getY()
    • getZ

      int getZ()
    • up

      IPos up()
    • up

      IPos up​(int n)
    • down

      IPos down()
    • down

      IPos down​(int n)
    • north

      IPos north()
    • north

      IPos north​(int n)
    • east

      IPos east()
    • east

      IPos east​(int n)
    • south

      IPos south()
    • south

      IPos south​(int n)
    • west

      IPos west()
    • west

      IPos west​(int n)
    • add

      IPos add​(int x, int y, int z)
    • add

      IPos add​(IPos pos)
    • subtract

      IPos subtract​(int x, int y, int z)
    • subtract

      IPos subtract​(IPos pos)
    • normalize

      double[] normalize()
    • getMCBlockPos

      net.minecraft.util.math.BlockPos getMCBlockPos()
    • offset

      IPos offset​(int direction)
      Parameters:
      direction - SideType
    • offset

      IPos offset​(int direction, int n)
      Parameters:
      direction - SideType
      n - how many positions
    • distanceTo

      double distanceTo​(IPos pos)