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(ScoreAccess p_311079_, ScoreAccess p_311087_)
     
  • 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_311079_, ScoreAccess p_311087_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface OperationArgument.Operation
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException