Class WorldCoordinates
java.lang.Object
net.minecraft.commands.arguments.coordinates.WorldCoordinates
- All Implemented Interfaces:
Coordinates
-
Field Summary
Modifier and TypeFieldDescriptionprivate WorldCoordinate
private WorldCoordinate
private WorldCoordinate
-
Constructor Summary
ConstructorDescriptionWorldCoordinates(WorldCoordinate p_120883_, WorldCoordinate p_120884_, WorldCoordinate p_120885_)
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorldCoordinates
absolute(double p_175086_, double p_175087_, double p_175088_)
static WorldCoordinates
static WorldCoordinates
current()
boolean
getPosition(CommandSourceStack p_120893_)
getRotation(CommandSourceStack p_120896_)
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
public WorldCoordinates(WorldCoordinate p_120883_, WorldCoordinate p_120884_, WorldCoordinate p_120885_)
-
-
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()
-