Package noppes.npcs.api
Interface IPos
public interface IPos
All the methods in IPos create a new IPos object
-
Method Summary
Modifier and Type Method Description IPos
add(int x, int y, int z)
IPos
add(IPos pos)
double
distanceTo(IPos pos)
IPos
down()
IPos
down(int n)
IPos
east()
IPos
east(int n)
net.minecraft.util.math.BlockPos
getMCBlockPos()
int
getX()
int
getY()
int
getZ()
double[]
normalize()
IPos
north()
IPos
north(int n)
IPos
offset(int direction)
IPos
offset(int direction, int n)
IPos
south()
IPos
south(int n)
IPos
subtract(int x, int y, int z)
IPos
subtract(IPos pos)
IPos
up()
IPos
up(int n)
IPos
west()
IPos
west(int n)
-
Method Details
-
getX
int getX() -
getY
int getY() -
getZ
int getZ() -
up
IPos up() -
up
-
down
IPos down() -
down
-
north
IPos north() -
north
-
east
IPos east() -
east
-
south
IPos south() -
south
-
west
IPos west() -
west
-
add
-
add
-
subtract
-
subtract
-
normalize
double[] normalize() -
getMCBlockPos
net.minecraft.util.math.BlockPos getMCBlockPos() -
offset
- Parameters:
direction
-SideType
-
offset
- Parameters:
direction
-SideType
n
- how many positions
-
distanceTo
-