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 eo$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 a, int b)
     
    default void
  • 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 Leo$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(ScoreAccess a, ScoreAccess 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 Leo$a;apply(Lemv;Lemv;)V
      intermediary apply Lnet/minecraft/class_2218$class_2219;apply(Lnet/minecraft/class_9014;Lnet/minecraft/class_9014;)V
      named apply Lnet/minecraft/command/argument/OperationArgumentType$Operation;apply(Lnet/minecraft/scoreboard/ScoreAccess;Lnet/minecraft/scoreboard/ScoreAccess;)V