net.minecraft.command.argument

public record LocalPosArgument

implements PosArgument

net.minecraft.commands.arguments.coordinates.LocalCoordinates
net.minecraft.class_2268
net.minecraft.command.argument.LocalPosArgument

Field summary

Modifier and TypeField
private final double
left
comp_4921
x
private final double
up
comp_4922
y
private final double
forwards
comp_4923
z
public static final char
PREFIX_LOCAL_COORDINATE
field_32941
CARET

Constructor summary

ModifierConstructor
public (double x, double y, double z)

Method summary

Modifier and TypeMethod
public Vec3d
getPosition(CommandSourceStack sender)
method_9708(class_2168 arg0)
getPos(ServerCommandSource arg0)
public Vec2f
getRotation(CommandSourceStack sender)
method_9709(class_2168 arg0)
getRotation(ServerCommandSource arg0)
public boolean
isXRelative()
method_9705()
isXRelative()
public boolean
isYRelative()
method_9706()
isYRelative()
public boolean
isZRelative()
method_9707()
isZRelative()
public static LocalPosArgument
parse(com.mojang.brigadier.StringReader reader)
method_9711(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
private static double
readDouble(com.mojang.brigadier.StringReader reader, int start)
method_9710(com.mojang.brigadier.StringReader arg0, int arg1)
readCoordinate(com.mojang.brigadier.StringReader reader, int startingCursorPos)
public double
left()
comp_4921()
x()
public double
up()
comp_4922()
y()
public double
forwards()
comp_4923()
z()