Package net.kyori.adventure.text
Interface BlockNBTComponent.WorldPos
- All Superinterfaces:
 BlockNBTComponent.Pos,net.kyori.examination.Examinable
- 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 @NotNull BlockNBTComponent.WorldPosof(@NotNull BlockNBTComponent.WorldPos.Coordinate x, @NotNull BlockNBTComponent.WorldPos.Coordinate y, @NotNull BlockNBTComponent.WorldPos.Coordinate z) Deprecated.static @NotNull BlockNBTComponent.WorldPosworldPos(@NotNull BlockNBTComponent.WorldPos.Coordinate x, @NotNull BlockNBTComponent.WorldPos.Coordinate y, @NotNull 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 net.kyori.adventure.text.BlockNBTComponent.Pos
asStringMethods inherited from interface net.kyori.examination.Examinable
examinableName, examinableProperties, examine 
- 
Method Details
- 
worldPos
@NotNull static @NotNull BlockNBTComponent.WorldPos worldPos(@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate x, @NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate y, @NotNull @NotNull 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
 
 - 
of
@Deprecated @ScheduledForRemoval(inVersion="5.0.0") @NotNull static @NotNull BlockNBTComponent.WorldPos of(@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate x, @NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate y, @NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate z) Deprecated.for removal since 4.10.0, useworldPos(WorldPos.Coordinate, WorldPos.Coordinate, WorldPos.Coordinate)instead.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.0.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
 
 
 - 
 
worldPos(WorldPos.Coordinate, WorldPos.Coordinate, WorldPos.Coordinate)instead.