Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator
- Mappings:
Namespace Name named net/minecraft/loot/operator/BoundedIntUnaryOperatorintermediary net/minecraft/class_42official erq
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BoundedIntUnaryOperator.Applierstatic final com.mojang.serialization.Codec<BoundedIntUnaryOperator> private final @Nullable LootNumberProviderprivate final @Nullable LootNumberProviderprivate static final com.mojang.serialization.Codec<BoundedIntUnaryOperator> private final BoundedIntUnaryOperator.Tester -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateprivate -
Method Summary
Modifier and TypeMethodDescriptionintapply(LootContext context, int value) static BoundedIntUnaryOperatorcreate(int value) static BoundedIntUnaryOperatorcreate(int min, int max) static BoundedIntUnaryOperatorcreateMax(int max) static BoundedIntUnaryOperatorcreateMin(int min) private OptionalIntbooleantest(LootContext context, int value)
-
Field Details
-
OPERATOR_CODEC
- Mappings:
Namespace Name Mixin selector named OPERATOR_CODECLnet/minecraft/loot/operator/BoundedIntUnaryOperator;OPERATOR_CODEC:Lcom/mojang/serialization/Codec;intermediary field_45791Lnet/minecraft/class_42;field_45791:Lcom/mojang/serialization/Codec;official bLerq;b:Lcom/mojang/serialization/Codec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/loot/operator/BoundedIntUnaryOperator;CODEC:Lcom/mojang/serialization/Codec;intermediary field_45790Lnet/minecraft/class_42;field_45790:Lcom/mojang/serialization/Codec;official aLerq;a:Lcom/mojang/serialization/Codec;
-
min
- Mappings:
Namespace Name Mixin selector named minLnet/minecraft/loot/operator/BoundedIntUnaryOperator;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;intermediary field_921Lnet/minecraft/class_42;field_921:Lnet/minecraft/class_5658;official cLerq;c:Levy;
-
max
- Mappings:
Namespace Name Mixin selector named maxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;intermediary field_920Lnet/minecraft/class_42;field_920:Lnet/minecraft/class_5658;official dLerq;d:Levy;
-
applier
- Mappings:
Namespace Name Mixin selector named applierLnet/minecraft/loot/operator/BoundedIntUnaryOperator;applier:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Applier;intermediary field_27897Lnet/minecraft/class_42;field_27897:Lnet/minecraft/class_42$class_5639;official eLerq;e:Lerq$b;
-
tester
- Mappings:
Namespace Name Mixin selector named testerLnet/minecraft/loot/operator/BoundedIntUnaryOperator;tester:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Tester;intermediary field_27898Lnet/minecraft/class_42;field_27898:Lnet/minecraft/class_42$class_5638;official fLerq;f:Lerq$a;
-
-
Constructor Details
-
BoundedIntUnaryOperator
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;<init>(Ljava/util/Optional;Ljava/util/Optional;)Vintermediary <init>Lnet/minecraft/class_42;<init>(Ljava/util/Optional;Ljava/util/Optional;)Vofficial <init>Lerq;<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;)Vintermediary <init>Lnet/minecraft/class_42;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)Vofficial <init>Lerq;<init>(Levy;Levy;)V
-
-
Method Details
-
getRequiredParameters
- Mappings:
Namespace Name Mixin selector named getRequiredParametersLnet/minecraft/loot/operator/BoundedIntUnaryOperator;getRequiredParameters()Ljava/util/Set;intermediary method_32386Lnet/minecraft/class_42;method_32386()Ljava/util/Set;official aLerq;a()Ljava/util/Set;
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;intermediary method_32387Lnet/minecraft/class_42;method_32387(I)Lnet/minecraft/class_42;official aLerq;a(I)Lerq;
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(II)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;intermediary method_282Lnet/minecraft/class_42;method_282(II)Lnet/minecraft/class_42;official aLerq;a(II)Lerq;
-
createMin
- Mappings:
Namespace Name Mixin selector named createMinLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMin(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;intermediary method_280Lnet/minecraft/class_42;method_280(I)Lnet/minecraft/class_42;official bLerq;b(I)Lerq;
-
createMax
- Mappings:
Namespace Name Mixin selector named createMaxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMax(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;intermediary method_277Lnet/minecraft/class_42;method_277(I)Lnet/minecraft/class_42;official cLerq;c(I)Lerq;
-
apply
- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/loot/operator/BoundedIntUnaryOperator;apply(Lnet/minecraft/loot/context/LootContext;I)Iintermediary method_32389Lnet/minecraft/class_42;method_32389(Lnet/minecraft/class_47;I)Iofficial aLerq;a(Lerr;I)I
-
test
- Mappings:
Namespace Name Mixin selector named testLnet/minecraft/loot/operator/BoundedIntUnaryOperator;test(Lnet/minecraft/loot/context/LootContext;I)Zintermediary method_32393Lnet/minecraft/class_42;method_32393(Lnet/minecraft/class_47;I)Zofficial bLerq;b(Lerr;I)Z
-
getConstantValue
- Mappings:
Namespace Name Mixin selector named getConstantValueLnet/minecraft/loot/operator/BoundedIntUnaryOperator;getConstantValue()Ljava/util/OptionalInt;intermediary method_53263Lnet/minecraft/class_42;method_53263()Ljava/util/OptionalInt;official bLerq;b()Ljava/util/OptionalInt;
-