net.minecraft.commands.arguments

public class OperationArgument

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

fs
net.minecraft.commands.arguments.OperationArgument
net.minecraft.class_2218
net.minecraft.command.argument.OperationArgumentType
net.minecraft.commands.arguments.ArgumentMathOperation

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static OperationArgument
a()
operation()
method_9404()
operation()
public static OperationArgument$Operation
a(com.mojang.brigadier.context.CommandContext<ew> 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> context, String name)
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)
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()
private static OperationArgument$Operation
a(String arg0)
getOperation(String arg0)
method_9413(String arg0)
getOperator(String operator)
private static OperationArgument$SimpleOperation
b(String arg0)
getSimpleOperation(String arg0)
method_9407(String arg0)
getIntOperator(String operator)