Class WorldCoordinates
java.lang.Object
net.minecraft.commands.arguments.coordinates.WorldCoordinates
- All Implemented Interfaces:
Coordinates
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WorldCoordinate
private final WorldCoordinate
private final WorldCoordinate
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic WorldCoordinates
absolute
(double pX, double pY, double pZ) static WorldCoordinates
static WorldCoordinates
current()
boolean
getPosition
(CommandSourceStack pSource) getRotation
(CommandSourceStack pSource) int
hashCode()
boolean
boolean
boolean
static WorldCoordinates
parseDouble
(com.mojang.brigadier.StringReader p_120890_, boolean p_120891_) static WorldCoordinates
parseInt
(com.mojang.brigadier.StringReader p_120888_) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.commands.arguments.coordinates.Coordinates
getBlockPos
-
Field Details
-
x
-
y
-
z
-
-
Constructor Details
-
WorldCoordinates
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfaceCoordinates
-
getRotation
- Specified by:
getRotation
in interfaceCoordinates
-
isXRelative
public boolean isXRelative()- Specified by:
isXRelative
in interfaceCoordinates
-
isYRelative
public boolean isYRelative()- Specified by:
isYRelative
in interfaceCoordinates
-
isZRelative
public boolean isZRelative()- Specified by:
isZRelative
in 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()
-