Package net.minecraft.commands.arguments
Interface OperationArgument.SimpleOperation
- All Superinterfaces:
OperationArgument.Operation
- Enclosing class:
OperationArgument
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
static interface OperationArgument.SimpleOperation
extends OperationArgument.Operation
-
Method Summary
Modifier and TypeMethodDescriptionint
apply
(int p_103309_, int p_103310_) default void
apply
(ScoreAccess p_313880_, ScoreAccess p_313804_)
-
Method Details
-
apply
int apply(int p_103309_, int p_103310_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
apply
default void apply(ScoreAccess p_313880_, ScoreAccess p_313804_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
apply
in interfaceOperationArgument.Operation
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-