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 eg$b
intermediary net/minecraft/class_2218$class_2220
named net/minecraft/command/argument/OperationArgumentType$IntOperator
  • Method Details

    • apply

      int apply(int a, int b) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official apply Leg$b;apply(II)I
      intermediary apply Lnet/minecraft/class_2218$class_2220;apply(II)I
      named apply Lnet/minecraft/command/argument/OperationArgumentType$IntOperator;apply(II)I
    • apply

      default void apply(ScoreboardPlayerScore a, ScoreboardPlayerScore b) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      apply in interface OperationArgumentType.Operation
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official apply Leg$a;apply(Lebb;Lebb;)V
      intermediary apply Lnet/minecraft/class_2218$class_2219;apply(Lnet/minecraft/class_267;Lnet/minecraft/class_267;)V
      named apply Lnet/minecraft/command/argument/OperationArgumentType$Operation;apply(Lnet/minecraft/scoreboard/ScoreboardPlayerScore;Lnet/minecraft/scoreboard/ScoreboardPlayerScore;)V