Interface BlockNBTComponent.WorldPos
- All Superinterfaces:
BlockNBTComponent.Pos
- Enclosing interface:
BlockNBTComponent
A world position.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA coordinate component within aBlockNBTComponent.WorldPos. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockNBTComponent.WorldPosworldPos(BlockNBTComponent.WorldPos.Coordinate x, BlockNBTComponent.WorldPos.Coordinate y, BlockNBTComponent.WorldPos.Coordinate z) Creates a world position with the given coordinates.x()Gets the x coordinate.y()Gets the y coordinate.z()Gets the z coordinate.Methods inherited from interface BlockNBTComponent.Pos
asString
-
Method Details
-
worldPos
static BlockNBTComponent.WorldPos worldPos(BlockNBTComponent.WorldPos.Coordinate x, BlockNBTComponent.WorldPos.Coordinate y, BlockNBTComponent.WorldPos.Coordinate z) Creates a world position with the given coordinates.- Parameters:
x- the x coordinatey- the y coordinatez- the z coordinate- Returns:
- a world position
- Since:
- 4.10.0
-
x
Gets the x coordinate.- Returns:
- the x coordinate
- Since:
- 4.0.0
-
y
Gets the y coordinate.- Returns:
- the y coordinate
- Since:
- 4.0.0
-
z
Gets the z coordinate.- Returns:
- the z coordinate
- Since:
- 4.0.0
-