Package net.kyori.adventure.text
Interface BlockNBTComponent.WorldPos.Coordinate
- 
- All Superinterfaces:
- net.kyori.examination.Examinable
 - Enclosing interface:
- BlockNBTComponent.WorldPos
 
 public static interface BlockNBTComponent.WorldPos.Coordinate extends net.kyori.examination.ExaminableA coordinate component within aBlockNBTComponent.WorldPos.- Since:
- 4.0.0
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classBlockNBTComponent.WorldPos.Coordinate.TypeThe type of a coordinate.
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description static @NotNull BlockNBTComponent.WorldPos.Coordinateabsolute(int value)Creates a absolute coordinate with the given value.static @NotNull BlockNBTComponent.WorldPos.Coordinatecoordinate(int value, @NotNull BlockNBTComponent.WorldPos.Coordinate.Type type)Creates a coordinate with the given value and type.static @NotNull BlockNBTComponent.WorldPos.Coordinateof(int value, @NotNull BlockNBTComponent.WorldPos.Coordinate.Type type)Deprecated.for removal since 4.10.0, usecoordinate(int, Coordinate.Type)instead.static @NotNull BlockNBTComponent.WorldPos.Coordinaterelative(int value)Creates a relative coordinate with the given value.@NotNull BlockNBTComponent.WorldPos.Coordinate.Typetype()Gets the type.intvalue()Gets the value.
 
- 
- 
- 
Method Detail- 
absolute@NotNull static @NotNull BlockNBTComponent.WorldPos.Coordinate absolute(int value) Creates a absolute coordinate with the given value.- Parameters:
- value- the value
- Returns:
- a coordinate
- Since:
- 4.0.0
 
 - 
relative@NotNull static @NotNull BlockNBTComponent.WorldPos.Coordinate relative(int value) Creates a relative coordinate with the given value.- Parameters:
- value- the value
- Returns:
- a coordinate
- Since:
- 4.0.0
 
 - 
coordinate@NotNull static @NotNull BlockNBTComponent.WorldPos.Coordinate coordinate(int value, @NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate.Type type) Creates a coordinate with the given value and type.- Parameters:
- value- the value
- type- the type
- Returns:
- a coordinate
- Since:
- 4.10.0
 
 - 
of@Deprecated @ScheduledForRemoval(inVersion="5.0.0") @NotNull static @NotNull BlockNBTComponent.WorldPos.Coordinate of(int value, @NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate.Type type) Deprecated.for removal since 4.10.0, usecoordinate(int, Coordinate.Type)instead.Creates a coordinate with the given value and type.- Parameters:
- value- the value
- type- the type
- Returns:
- a coordinate
- Since:
- 4.0.0
 
 - 
valueint value() Gets the value.- Returns:
- the value
- Since:
- 4.0.0
 
 - 
type@NotNull @NotNull BlockNBTComponent.WorldPos.Coordinate.Type type() Gets the type.- Returns:
- the type
- Since:
- 4.0.0
 
 
- 
 
-