Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator
- Mappings:
Namespace Name official ecgintermediary net/minecraft/class_42named net/minecraft/loot/operator/BoundedIntUnaryOperator
-
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 static final com.mojang.serialization.Codec<BoundedIntUnaryOperator>private final @Nullable LootNumberProviderprivate final @Nullable LootNumberProviderprivate final BoundedIntUnaryOperator.Tester -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBoundedIntUnaryOperator(Optional<LootNumberProvider> optional, Optional<LootNumberProvider> optional2) private -
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
-
field_45791
- Mappings:
Namespace Name Mixin selector official bLecg;b:Lcom/mojang/serialization/Codec;intermediary field_45791Lnet/minecraft/class_42;field_45791:Lcom/mojang/serialization/Codec;named field_45791Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;field_45791:Lcom/mojang/serialization/Codec;
-
field_45790
- Mappings:
Namespace Name Mixin selector official aLecg;a:Lcom/mojang/serialization/Codec;intermediary field_45790Lnet/minecraft/class_42;field_45790:Lcom/mojang/serialization/Codec;named field_45790Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;field_45790:Lcom/mojang/serialization/Codec;
-
min
- Mappings:
Namespace Name Mixin selector official cLecg;c:Legb;intermediary field_921Lnet/minecraft/class_42;field_921:Lnet/minecraft/class_5658;named minLnet/minecraft/loot/operator/BoundedIntUnaryOperator;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
max
- Mappings:
Namespace Name Mixin selector official dLecg;d:Legb;intermediary field_920Lnet/minecraft/class_42;field_920:Lnet/minecraft/class_5658;named maxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
applier
- Mappings:
Namespace Name Mixin selector official eLecg;e:Lecg$b;intermediary field_27897Lnet/minecraft/class_42;field_27897:Lnet/minecraft/class_42$class_5639;named applierLnet/minecraft/loot/operator/BoundedIntUnaryOperator;applier:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Applier;
-
tester
- Mappings:
Namespace Name Mixin selector official fLecg;f:Lecg$a;intermediary field_27898Lnet/minecraft/class_42;field_27898:Lnet/minecraft/class_42$class_5638;named testerLnet/minecraft/loot/operator/BoundedIntUnaryOperator;tester:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Tester;
-
-
Constructor Details
-
BoundedIntUnaryOperator
private BoundedIntUnaryOperator(Optional<LootNumberProvider> optional, Optional<LootNumberProvider> optional2) -
BoundedIntUnaryOperator
private BoundedIntUnaryOperator(@Nullable @Nullable LootNumberProvider min, @Nullable @Nullable LootNumberProvider max) - Mappings:
Namespace Name Mixin selector official <init>Lecg;<init>(Legb;Legb;)Vintermediary <init>Lnet/minecraft/class_42;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)Vnamed <init>Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
Method Details
-
getRequiredParameters
- Mappings:
Namespace Name Mixin selector official aLecg;a()Ljava/util/Set;intermediary method_32386Lnet/minecraft/class_42;method_32386()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/operator/BoundedIntUnaryOperator;getRequiredParameters()Ljava/util/Set;
-
create
- Mappings:
Namespace Name Mixin selector official aLecg;a(I)Lecg;intermediary method_32387Lnet/minecraft/class_42;method_32387(I)Lnet/minecraft/class_42;named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
create
- Mappings:
Namespace Name Mixin selector official aLecg;a(II)Lecg;intermediary method_282Lnet/minecraft/class_42;method_282(II)Lnet/minecraft/class_42;named createLnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(II)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMin
- Mappings:
Namespace Name Mixin selector official bLecg;b(I)Lecg;intermediary method_280Lnet/minecraft/class_42;method_280(I)Lnet/minecraft/class_42;named createMinLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMin(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMax
- Mappings:
Namespace Name Mixin selector official cLecg;c(I)Lecg;intermediary method_277Lnet/minecraft/class_42;method_277(I)Lnet/minecraft/class_42;named createMaxLnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMax(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
apply
- Mappings:
Namespace Name Mixin selector official aLecg;a(Lech;I)Iintermediary method_32389Lnet/minecraft/class_42;method_32389(Lnet/minecraft/class_47;I)Inamed applyLnet/minecraft/loot/operator/BoundedIntUnaryOperator;apply(Lnet/minecraft/loot/context/LootContext;I)I
-
test
- Mappings:
Namespace Name Mixin selector official bLecg;b(Lech;I)Zintermediary method_32393Lnet/minecraft/class_42;method_32393(Lnet/minecraft/class_47;I)Znamed testLnet/minecraft/loot/operator/BoundedIntUnaryOperator;test(Lnet/minecraft/loot/context/LootContext;I)Z
-
method_53263
- Mappings:
Namespace Name Mixin selector official bLecg;b()Ljava/util/OptionalInt;intermediary method_53263Lnet/minecraft/class_42;method_53263()Ljava/util/OptionalInt;named method_53263Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;method_53263()Ljava/util/OptionalInt;
-