net.minecraft.commands.arguments

public class OperationArgument

implements com.mojang.brigadier.arguments.ArgumentType<OperationArgument$Operation>

dv
net.minecraft.commands.arguments.OperationArgument
net.minecraft.class_2218
net.minecraft.command.argument.OperationArgumentType
net.minecraft.command.arguments.OperationArgument
net.minecraft.server.v1_16_R3.ArgumentMathOperation

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9929
EXAMPLES
field_201319_a
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_OPERATION
field_9931
INVALID_OPERATION
field_197185_a
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_DIVIDE_BY_ZERO
field_9930
DIVISION_ZERO_EXCEPTION
field_197186_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static OperationArgument
a()
operation()
method_9404()
operation()
func_197184_a()
public static OperationArgument$Operation
a(com.mojang.brigadier.context.CommandContext<db> arg0, String arg1)
getOperation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9409(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getOperation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
func_197179_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public OperationArgument$Operation
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9412(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> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()
getExamples()
private static OperationArgument$Operation
a(String arg0)
getOperation(String arg0)
method_9413(String arg0)
getOperator(String arg0)
func_197177_a(String arg0)
private static OperationArgument$SimpleOperation
b(String arg0)
getSimpleOperation(String arg0)
method_9407(String arg0)
getIntOperator(String arg0)
func_197182_b(String arg0)