Class BoundedIntUnaryOperator

java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator

public class BoundedIntUnaryOperator extends Object
Mappings:
Namespace Name
named net/minecraft/loot/operator/BoundedIntUnaryOperator
intermediary net/minecraft/class_42
official ewn
  • Field Details

    • OPERATOR_CODEC

      private static final com.mojang.serialization.Codec<BoundedIntUnaryOperator> OPERATOR_CODEC
      Mappings:
      Namespace Name Mixin selector
      named OPERATOR_CODEC Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;OPERATOR_CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_45791 Lnet/minecraft/class_42;field_45791:Lcom/mojang/serialization/Codec;
      official b Lewn;b:Lcom/mojang/serialization/Codec;
    • CODEC

      public static final com.mojang.serialization.Codec<BoundedIntUnaryOperator> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_45790 Lnet/minecraft/class_42;field_45790:Lcom/mojang/serialization/Codec;
      official a Lewn;a:Lcom/mojang/serialization/Codec;
    • min

      Mappings:
      Namespace Name Mixin selector
      named min Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_921 Lnet/minecraft/class_42;field_921:Lnet/minecraft/class_5658;
      official c Lewn;c:Lfat;
    • max

      Mappings:
      Namespace Name Mixin selector
      named max Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_920 Lnet/minecraft/class_42;field_920:Lnet/minecraft/class_5658;
      official d Lewn;d:Lfat;
    • applier

      private final BoundedIntUnaryOperator.Applier applier
      Mappings:
      Namespace Name Mixin selector
      named applier Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;applier:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Applier;
      intermediary field_27897 Lnet/minecraft/class_42;field_27897:Lnet/minecraft/class_42$class_5639;
      official e Lewn;e:Lewn$b;
    • tester

      private final BoundedIntUnaryOperator.Tester tester
      Mappings:
      Namespace Name Mixin selector
      named tester Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;tester:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Tester;
      intermediary field_27898 Lnet/minecraft/class_42;field_27898:Lnet/minecraft/class_42$class_5638;
      official f Lewn;f:Lewn$a;
  • Constructor Details

    • BoundedIntUnaryOperator

      private BoundedIntUnaryOperator(Optional<LootNumberProvider> min, Optional<LootNumberProvider> max)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_42;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      official <init> Lewn;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
    • BoundedIntUnaryOperator

      private BoundedIntUnaryOperator(@Nullable @Nullable LootNumberProvider min, @Nullable @Nullable LootNumberProvider max)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
      intermediary <init> Lnet/minecraft/class_42;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)V
      official <init> Lewn;<init>(Lfat;Lfat;)V
  • Method Details

    • getRequiredParameters

      public Set<ContextParameter<?>> getRequiredParameters()
      Mappings:
      Namespace Name Mixin selector
      named getRequiredParameters Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;getRequiredParameters()Ljava/util/Set;
      intermediary method_32386 Lnet/minecraft/class_42;method_32386()Ljava/util/Set;
      official a Lewn;a()Ljava/util/Set;
    • create

      public static BoundedIntUnaryOperator create(int value)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
      intermediary method_32387 Lnet/minecraft/class_42;method_32387(I)Lnet/minecraft/class_42;
      official a Lewn;a(I)Lewn;
    • create

      public static BoundedIntUnaryOperator create(int min, int max)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(II)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
      intermediary method_282 Lnet/minecraft/class_42;method_282(II)Lnet/minecraft/class_42;
      official a Lewn;a(II)Lewn;
    • createMin

      public static BoundedIntUnaryOperator createMin(int min)
      Mappings:
      Namespace Name Mixin selector
      named createMin Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMin(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
      intermediary method_280 Lnet/minecraft/class_42;method_280(I)Lnet/minecraft/class_42;
      official b Lewn;b(I)Lewn;
    • createMax

      public static BoundedIntUnaryOperator createMax(int max)
      Mappings:
      Namespace Name Mixin selector
      named createMax Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMax(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
      intermediary method_277 Lnet/minecraft/class_42;method_277(I)Lnet/minecraft/class_42;
      official c Lewn;c(I)Lewn;
    • apply

      public int apply(LootContext context, int value)
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;apply(Lnet/minecraft/loot/context/LootContext;I)I
      intermediary method_32389 Lnet/minecraft/class_42;method_32389(Lnet/minecraft/class_47;I)I
      official a Lewn;a(Lewo;I)I
    • test

      public boolean test(LootContext context, int value)
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;test(Lnet/minecraft/loot/context/LootContext;I)Z
      intermediary method_32393 Lnet/minecraft/class_42;method_32393(Lnet/minecraft/class_47;I)Z
      official b Lewn;b(Lewo;I)Z
    • getConstantValue

      private OptionalInt getConstantValue()
      Mappings:
      Namespace Name Mixin selector
      named getConstantValue Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;getConstantValue()Ljava/util/OptionalInt;
      intermediary method_53263 Lnet/minecraft/class_42;method_53263()Ljava/util/OptionalInt;
      official b Lewn;b()Ljava/util/OptionalInt;