Interface BlockPosition
- All Superinterfaces:
Position
A position made of integer coordinates, pointing at a single block.
- Since:
- 0.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionoffset(int x, int y, int z) Moves this position along all three axes by a whole number of blocks.offsetX(int x) Moves this position along the X axis by a whole number of blocks.offsetY(int y) Moves this position along the Y axis by a whole number of blocks.offsetZ(int z) Moves this position along the Z axis by a whole number of blocks.Moves this position by one block in the direction of the given face.Moves this position by the defined distance in the direction of the given face.with(int x, int y, int z) Copies this position with different whole coordinates.withX(int x) Copies this position with a different whole X coordinate.withY(int y) Copies this position with a different whole Y coordinate.withZ(int z) Copies this position with a different whole Z coordinate.
-
Method Details
-
relative
Description copied from interface:PositionMoves this position by the defined distance in the direction of the given face. -
relative
Description copied from interface:PositionMoves this position by one block in the direction of the given face. -
offsetX
Description copied from interface:PositionMoves this position along the X axis by a whole number of blocks. -
offsetY
Description copied from interface:PositionMoves this position along the Y axis by a whole number of blocks. -
offsetZ
Description copied from interface:PositionMoves this position along the Z axis by a whole number of blocks. -
offset
Description copied from interface:PositionMoves this position along all three axes by a whole number of blocks. -
withX
Description copied from interface:PositionCopies this position with a different whole X coordinate. -
withY
Description copied from interface:PositionCopies this position with a different whole Y coordinate. -
withZ
Description copied from interface:PositionCopies this position with a different whole Z coordinate. -
with
Description copied from interface:PositionCopies this position with different whole coordinates.
-