public static interface BlockNbtComponent.WorldPos.Coordinate
BlockNbtComponent.WorldPos.| Modifier and Type | Interface and Description |
|---|---|
static class |
BlockNbtComponent.WorldPos.Coordinate.Type
The type of a coordinate.
|
| Modifier and Type | Method and Description |
|---|---|
static @NonNull BlockNbtComponent.WorldPos.Coordinate |
absolute(int value)
Creates a absolute coordinate with the given value.
|
static @NonNull BlockNbtComponent.WorldPos.Coordinate |
of(int value,
@NonNull BlockNbtComponent.WorldPos.Coordinate.Type type)
Creates a coordinate with the given value and type.
|
static @NonNull BlockNbtComponent.WorldPos.Coordinate |
relative(int value)
Creates a relative coordinate with the given value.
|
@NonNull BlockNbtComponent.WorldPos.Coordinate.Type |
type()
Gets the type.
|
int |
value()
Gets the value.
|
static @NonNull BlockNbtComponent.WorldPos.Coordinate absolute(int value)
value - the valuestatic @NonNull BlockNbtComponent.WorldPos.Coordinate relative(int value)
value - the valuestatic @NonNull BlockNbtComponent.WorldPos.Coordinate of(int value, @NonNull BlockNbtComponent.WorldPos.Coordinate.Type type)
value - the valuetype - the typeint value()
@NonNull BlockNbtComponent.WorldPos.Coordinate.Type type()