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 Type
    Method
    Description
    int
    apply(int p_103309_, int p_103310_)
     
    default void
    apply(Score p_103312_, Score p_103313_)
     
  • 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(Score p_103312_, Score p_103313_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface OperationArgument.Operation
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException