public static interface BlockNbtComponent.WorldPos extends BlockNbtComponent.Pos
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BlockNbtComponent.WorldPos.Coordinate
A coordinate component within a
BlockNbtComponent.WorldPos. |
| Modifier and Type | Method and Description |
|---|---|
static @NonNull BlockNbtComponent.WorldPos |
of(@NonNull BlockNbtComponent.WorldPos.Coordinate x,
@NonNull BlockNbtComponent.WorldPos.Coordinate y,
@NonNull BlockNbtComponent.WorldPos.Coordinate z)
Creates a world position with the given coordinates.
|
@NonNull BlockNbtComponent.WorldPos.Coordinate |
x()
Gets the x coordinate.
|
@NonNull BlockNbtComponent.WorldPos.Coordinate |
y()
Gets the y coordinate.
|
@NonNull BlockNbtComponent.WorldPos.Coordinate |
z()
Gets the z coordinate.
|
static @NonNull BlockNbtComponent.WorldPos of(@NonNull BlockNbtComponent.WorldPos.Coordinate x, @NonNull BlockNbtComponent.WorldPos.Coordinate y, @NonNull BlockNbtComponent.WorldPos.Coordinate z)
x - the x coordinatey - the y coordinatez - the z coordinate@NonNull BlockNbtComponent.WorldPos.Coordinate x()
@NonNull BlockNbtComponent.WorldPos.Coordinate y()
@NonNull BlockNbtComponent.WorldPos.Coordinate z()