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 private static interface OperationArgumentType.IntOperator extends OperationArgumentType.Operation
Mappings:
Namespace Name
official ef$b
intermediary net/minecraft/class_2218$class_2220
named net/minecraft/command/argument/OperationArgumentType$IntOperator
  • 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