net.minecraft.commands.arguments.coordinates

public class WorldCoordinate

fq
net.minecraft.commands.arguments.coordinates.WorldCoordinate
net.minecraft.class_2278
net.minecraft.command.argument.CoordinateArgument
net.minecraft.src.C_4636_
net.minecraft.commands.arguments.coordinates.ArgumentParserPosition

Field summary

Modifier and TypeField
private static final char
c
PREFIX_RELATIVE
field_32972
TILDE
f_175084_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_EXPECTED_DOUBLE
field_10759
MISSING_COORDINATE
f_120858_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_EXPECTED_INT
field_10761
MISSING_BLOCK_POSITION
f_120859_
private final boolean
d
relative
field_10760
relative
f_120860_
private final double
e
value
field_10758
value
f_120861_

Constructor summary

ModifierConstructor
public (boolean relative, double value)

Method summary

Modifier and TypeMethod
public double
a(double arg0)
get(double arg0)
method_9740(double arg0)
toAbsoluteCoordinate(double offset)
m_120867_(double arg0)
public static WorldCoordinate
a(com.mojang.brigadier.StringReader arg0, boolean arg1)
parseDouble(com.mojang.brigadier.StringReader arg0, boolean arg1)
method_9743(com.mojang.brigadier.StringReader arg0, boolean arg1)
parse(com.mojang.brigadier.StringReader reader, boolean centerIntegers)
m_120871_(com.mojang.brigadier.StringReader p_120872_, boolean p_120873_)
public static WorldCoordinate
a(com.mojang.brigadier.StringReader arg0)
parseInt(com.mojang.brigadier.StringReader arg0)
method_9739(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
m_120869_(com.mojang.brigadier.StringReader p_120870_)
public static boolean
b(com.mojang.brigadier.StringReader arg0)
isRelative(com.mojang.brigadier.StringReader arg0)
method_9742(com.mojang.brigadier.StringReader arg0)
isRelative(com.mojang.brigadier.StringReader reader)
m_120874_(com.mojang.brigadier.StringReader p_120875_)
public boolean
a()
isRelative()
method_9741()
isRelative()
m_120866_()