Class WorldCoordinates
java.lang.Object
net.minecraft.commands.arguments.coordinates.WorldCoordinates
- All Implemented Interfaces:
 Coordinates
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WorldCoordinateprivate final WorldCoordinateprivate final WorldCoordinate - 
Constructor Summary
ConstructorsConstructorDescriptionWorldCoordinates(WorldCoordinate p_120883_, WorldCoordinate p_120884_, WorldCoordinate p_120885_)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic WorldCoordinatesabsolute(double p_175086_, double p_175087_, double p_175088_) static WorldCoordinatesstatic WorldCoordinatescurrent()booleangetPosition(CommandSourceStack p_120893_) getRotation(CommandSourceStack p_120896_) inthashCode()booleanbooleanbooleanstatic WorldCoordinatesparseDouble(com.mojang.brigadier.StringReader p_120890_, boolean p_120891_) static WorldCoordinatesparseInt(com.mojang.brigadier.StringReader p_120888_) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.commands.arguments.coordinates.Coordinates
getBlockPos 
- 
Field Details
- 
x
 - 
y
 - 
z
 
 - 
 - 
Constructor Details
- 
WorldCoordinates
public WorldCoordinates(WorldCoordinate p_120883_, WorldCoordinate p_120884_, WorldCoordinate p_120885_)  
 - 
 - 
Method Details
- 
getPosition
- Specified by:
 getPositionin interfaceCoordinates
 - 
getRotation
- Specified by:
 getRotationin interfaceCoordinates
 - 
isXRelative
public boolean isXRelative()- Specified by:
 isXRelativein interfaceCoordinates
 - 
isYRelative
public boolean isYRelative()- Specified by:
 isYRelativein interfaceCoordinates
 - 
isZRelative
public boolean isZRelative()- Specified by:
 isZRelativein interfaceCoordinates
 - 
equals
 - 
parseInt
public static WorldCoordinates parseInt(com.mojang.brigadier.StringReader p_120888_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
parseDouble
public static WorldCoordinates parseDouble(com.mojang.brigadier.StringReader p_120890_, boolean p_120891_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
 com.mojang.brigadier.exceptions.CommandSyntaxException
 - 
absolute
 - 
absolute
 - 
current
 - 
hashCode
public int hashCode() 
 -