Interface OperationArgumentType.IntOperator

All Superinterfaces:
OperationArgumentType.Operation
Enclosing class:
OperationArgumentType
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 OperationArgumentType.IntOperator
extends OperationArgumentType.Operation
  • Method Summary

    Modifier and Type Method Description
    int apply​(int int2, int int3)  
    default void apply​(ScoreboardPlayerScore scoreboardPlayerScore, ScoreboardPlayerScore scoreboardPlayerScore2)  
  • Method Details

    • apply

      int apply​(int int2, int int3) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • apply

      default void apply​(ScoreboardPlayerScore scoreboardPlayerScore, ScoreboardPlayerScore scoreboardPlayerScore2) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface OperationArgumentType.Operation
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException