Package net.kyori.adventure.text
Interface BlockNBTComponent.WorldPos
- 
- All Superinterfaces:
 BlockNBTComponent.Pos,net.kyori.examination.Examinable
- Enclosing interface:
 - BlockNBTComponent
 
public static interface BlockNBTComponent.WorldPos extends BlockNBTComponent.Pos
A world position.- Since:
 - 4.0.0
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceBlockNBTComponent.WorldPos.CoordinateA coordinate component within aBlockNBTComponent.WorldPos. 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description static @NotNull BlockNBTComponent.WorldPosof(@NotNull BlockNBTComponent.WorldPos.Coordinate x, @NotNull BlockNBTComponent.WorldPos.Coordinate y, @NotNull BlockNBTComponent.WorldPos.Coordinate z)Deprecated.for removal since 4.10.0, useworldPos(WorldPos.Coordinate, WorldPos.Coordinate, WorldPos.Coordinate)instead.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.@NotNull BlockNBTComponent.WorldPos.Coordinatex()Gets the x coordinate.@NotNull BlockNBTComponent.WorldPos.Coordinatey()Gets the y coordinate.@NotNull BlockNBTComponent.WorldPos.Coordinatez()Gets the z coordinate.- 
Methods inherited from interface net.kyori.adventure.text.BlockNBTComponent.Pos
asString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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
@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate x()
Gets the x coordinate.- Returns:
 - the x coordinate
 - Since:
 - 4.0.0
 
 
- 
y
@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate y()
Gets the y coordinate.- Returns:
 - the y coordinate
 - Since:
 - 4.0.0
 
 
- 
z
@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate z()
Gets the z coordinate.- Returns:
 - the z coordinate
 - Since:
 - 4.0.0
 
 
 - 
 
 -