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
Mappings:
Namespace Name
official ea$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
      Mappings:
      Namespace Name Mixin selector
      official apply Lea$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 scoreboardPlayerScore, ScoreboardPlayerScore scoreboardPlayerScore2) 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 Lea$a;apply(Ldmy;Ldmy;)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