net.minecraft.commands.arguments.coordinates

public class Vec2Argument

implements com.mojang.brigadier.arguments.ArgumentType<Coordinates>

fo
net.minecraft.commands.arguments.coordinates.Vec2Argument
net.minecraft.class_2274
net.minecraft.command.argument.Vec2ArgumentType
net.minecraft.src.C_4634_
net.minecraft.commands.arguments.coordinates.ArgumentVec2

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_10742
EXAMPLES
f_120817_
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_COMPLETE
field_10743
INCOMPLETE_EXCEPTION
f_120816_
private final boolean
c
centerCorrect
field_10744
centerIntegers
f_120818_

Constructor summary

ModifierConstructor
public (boolean centerIntegers)

Method summary

Modifier and TypeMethod
public static Vec2Argument
a()
vec2()
method_9723()
vec2()
m_120822_()
public static Vec2Argument
a(boolean arg0)
vec2(boolean arg0)
method_35802(boolean arg0)
vec2(boolean centerIntegers)
m_174954_(boolean p_174955_)
public static Vec2
a(com.mojang.brigadier.context.CommandContext<ds> arg0, String arg1)
getVec2(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9724(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getVec2(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_120825_(com.mojang.brigadier.context.CommandContext<C_2969_> p_120826_, String p_120827_)
public Coordinates
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9725(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_120831_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()