Package net.kyori.adventure.text
Interface BlockNBTComponent.LocalPos
- All Superinterfaces:
- BlockNBTComponent.Pos,- net.kyori.examination.Examinable
- Enclosing interface:
- BlockNBTComponent
public static interface BlockNBTComponent.LocalPos extends BlockNBTComponent.Pos
A local position.
- Since:
- 4.0.0
- 
Method SummaryModifier and Type Method Description doubleforwards()Gets the forwards value.doubleleft()Gets the left value.static @NonNull BlockNBTComponent.LocalPosof(double left, double up, double forwards)Creates a local position with the given values.doubleup()Gets the up value.
- 
Method Details- 
ofCreates a local position with the given values.- Parameters:
- left- the left value
- up- the up value
- forwards- the forwards value
- Returns:
- a local position
- Since:
- 4.0.0
 
- 
leftdouble left()Gets the left value.- Returns:
- the left value
- Since:
- 4.0.0
 
- 
updouble up()Gets the up value.- Returns:
- the up value
- Since:
- 4.0.0
 
- 
forwardsdouble forwards()Gets the forwards value.- Returns:
- the forwards value
- Since:
- 4.0.0
 
 
-