Package net.minecraft.loot.operator
Class BoundedIntUnaryOperator
java.lang.Object
net.minecraft.loot.operator.BoundedIntUnaryOperator
public class BoundedIntUnaryOperator extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
BoundedIntUnaryOperator.class_5638
(package private) static interface
BoundedIntUnaryOperator.class_5639
static class
BoundedIntUnaryOperator.Serializer
-
Field Summary
Fields Modifier and Type Field Description private BoundedIntUnaryOperator.class_5639
field_27897
private BoundedIntUnaryOperator.class_5638
field_27898
private LootNumberProvider
max
private LootNumberProvider
min
-
Constructor Summary
Constructors Modifier Constructor Description private
BoundedIntUnaryOperator(LootNumberProvider lootNumberProvider, LootNumberProvider lootNumberProvider2)
-
Method Summary
Modifier and Type Method Description static BoundedIntUnaryOperator
create(int min, int max)
static BoundedIntUnaryOperator
createMax(int max)
static BoundedIntUnaryOperator
createMin(int min)
Set<LootContextParameter<?>>
method_32386()
static BoundedIntUnaryOperator
method_32387(int int2)
int
method_32389(LootContext lootContext, int int2)
boolean
method_32393(LootContext lootContext, int int2)
-
Field Details
-
min
-
max
-
field_27897
-
field_27898
-
-
Constructor Details
-
BoundedIntUnaryOperator
private BoundedIntUnaryOperator(@Nullable LootNumberProvider lootNumberProvider, @Nullable LootNumberProvider lootNumberProvider2)
-
-
Method Details
-
method_32386
-
method_32387
-
create
-
createMin
-
createMax
-
method_32389
-
method_32393
-