net.minecraft.commands.arguments.coordinates

public class Vec2Argument

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

gy
net.minecraft.commands.arguments.coordinates.Vec2Argument
net.minecraft.class_2274
net.minecraft.command.argument.Vec2ArgumentType
net.minecraft.commands.arguments.coordinates.ArgumentVec2

Field summary

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

Constructor summary

ModifierConstructor
public (boolean centerIntegers)

Method summary

Modifier and TypeMethod
public static Vec2Argument
a()
vec2()
method_9723()
vec2()
public static Vec2Argument
a(boolean arg0)
vec2(boolean arg0)
method_35802(boolean arg0)
vec2(boolean centerIntegers)
public static Vec2
a(com.mojang.brigadier.context.CommandContext<ew> 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)
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)
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)
public Collection<String>
getExamples()
getExamples()