Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator
- Mappings:
Namespace Name official djl
intermediary net/minecraft/class_42
named net/minecraft/loot/operator/BoundedIntUnaryOperator
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
static class
private static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BoundedIntUnaryOperator.Applier
(package private) final @Nullable LootNumberProvider
(package private) final @Nullable LootNumberProvider
private final BoundedIntUnaryOperator.Tester
-
Constructor Summary
ConstructorDescriptionBoundedIntUnaryOperator
(@Nullable LootNumberProvider lootNumberProvider, @Nullable LootNumberProvider lootNumberProvider2) -
Method Summary
Modifier and TypeMethodDescriptionint
apply
(LootContext context, int value) static BoundedIntUnaryOperator
create
(int value) static BoundedIntUnaryOperator
create
(int min, int max) static BoundedIntUnaryOperator
createMax
(int max) static BoundedIntUnaryOperator
createMin
(int min) boolean
test
(LootContext context, int value)
-
Field Details
-
min
- Mappings:
Namespace Name Mixin selector official a
Ldjl;a:Ldnb;
intermediary field_921
Lnet/minecraft/class_42;field_921:Lnet/minecraft/class_5658;
named min
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
max
- Mappings:
Namespace Name Mixin selector official b
Ldjl;b:Ldnb;
intermediary field_920
Lnet/minecraft/class_42;field_920:Lnet/minecraft/class_5658;
named max
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
applier
- Mappings:
Namespace Name Mixin selector official c
Ldjl;c:Ldjl$b;
intermediary field_27897
Lnet/minecraft/class_42;field_27897:Lnet/minecraft/class_42$class_5639;
named applier
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;applier:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Applier;
-
tester
- Mappings:
Namespace Name Mixin selector official d
Ldjl;d:Ldjl$a;
intermediary field_27898
Lnet/minecraft/class_42;field_27898:Lnet/minecraft/class_42$class_5638;
named tester
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;tester:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator$Tester;
-
-
Constructor Details
-
BoundedIntUnaryOperator
BoundedIntUnaryOperator(@Nullable @Nullable LootNumberProvider lootNumberProvider, @Nullable @Nullable LootNumberProvider lootNumberProvider2)
-
-
Method Details
-
getRequiredParameters
- Mappings:
Namespace Name Mixin selector official a
Ldjl;a()Ljava/util/Set;
intermediary method_32386
Lnet/minecraft/class_42;method_32386()Ljava/util/Set;
named getRequiredParameters
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;getRequiredParameters()Ljava/util/Set;
-
create
- Mappings:
Namespace Name Mixin selector official a
Ldjl;a(I)Ldjl;
intermediary method_32387
Lnet/minecraft/class_42;method_32387(I)Lnet/minecraft/class_42;
named create
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
create
- Mappings:
Namespace Name Mixin selector official a
Ldjl;a(II)Ldjl;
intermediary method_282
Lnet/minecraft/class_42;method_282(II)Lnet/minecraft/class_42;
named create
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;create(II)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMin
- Mappings:
Namespace Name Mixin selector official b
Ldjl;b(I)Ldjl;
intermediary method_280
Lnet/minecraft/class_42;method_280(I)Lnet/minecraft/class_42;
named createMin
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMin(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
createMax
- Mappings:
Namespace Name Mixin selector official c
Ldjl;c(I)Ldjl;
intermediary method_277
Lnet/minecraft/class_42;method_277(I)Lnet/minecraft/class_42;
named createMax
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;createMax(I)Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
-
apply
- Mappings:
Namespace Name Mixin selector official a
Ldjl;a(Ldjn;I)I
intermediary method_32389
Lnet/minecraft/class_42;method_32389(Lnet/minecraft/class_47;I)I
named apply
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;apply(Lnet/minecraft/loot/context/LootContext;I)I
-
test
- Mappings:
Namespace Name Mixin selector official b
Ldjl;b(Ldjn;I)Z
intermediary method_32393
Lnet/minecraft/class_42;method_32393(Lnet/minecraft/class_47;I)Z
named test
Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;test(Lnet/minecraft/loot/context/LootContext;I)Z
-