Class UniformLootNumberProvider
java.lang.Object
net.minecraft.loot.provider.number.UniformLootNumberProvider
- All Implemented Interfaces:
LootContextAware,LootNumberProvider
- Mappings:
Namespace Name intermediary net/minecraft/class_5662official edfnamed net/minecraft/loot/provider/number/UniformLootNumberProvider
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LootNumberProvider(package private) final LootNumberProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UniformLootNumberProvidercreate(float min, float max) getType()floatnextFloat(LootContext context) intnextInt(LootContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.context.LootContextAware
validate
-
Field Details
-
min
- Mappings:
Namespace Name Mixin selector intermediary field_27928Lnet/minecraft/class_5662;field_27928:Lnet/minecraft/class_5658;official aLedf;a:Ledc;named minLnet/minecraft/loot/provider/number/UniformLootNumberProvider;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
max
- Mappings:
Namespace Name Mixin selector intermediary field_27929Lnet/minecraft/class_5662;field_27929:Lnet/minecraft/class_5658;official bLedf;b:Ledc;named maxLnet/minecraft/loot/provider/number/UniformLootNumberProvider;max:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
-
Constructor Details
-
UniformLootNumberProvider
UniformLootNumberProvider(LootNumberProvider min, LootNumberProvider max) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_5662;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)Vofficial <init>Ledf;<init>(Ledc;Ledc;)Vnamed <init>Lnet/minecraft/loot/provider/number/UniformLootNumberProvider;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLootNumberProvider- Mappings:
Namespace Name Mixin selector intermediary method_365Lnet/minecraft/class_5658;method_365()Lnet/minecraft/class_5657;official bLedc;b()Ledb;named getTypeLnet/minecraft/loot/provider/number/LootNumberProvider;getType()Lnet/minecraft/loot/provider/number/LootNumberProviderType;
-
create
- Mappings:
Namespace Name Mixin selector intermediary method_32462Lnet/minecraft/class_5662;method_32462(FF)Lnet/minecraft/class_5662;official aLedf;a(FF)Ledf;named createLnet/minecraft/loot/provider/number/UniformLootNumberProvider;create(FF)Lnet/minecraft/loot/provider/number/UniformLootNumberProvider;
-
nextInt
- Specified by:
nextIntin interfaceLootNumberProvider- Mappings:
Namespace Name Mixin selector intermediary method_366Lnet/minecraft/class_5658;method_366(Lnet/minecraft/class_47;)Iofficial aLedc;a(Ldzh;)Inamed nextIntLnet/minecraft/loot/provider/number/LootNumberProvider;nextInt(Lnet/minecraft/loot/context/LootContext;)I
-
nextFloat
- Specified by:
nextFloatin interfaceLootNumberProvider- Mappings:
Namespace Name Mixin selector intermediary method_32454Lnet/minecraft/class_5658;method_32454(Lnet/minecraft/class_47;)Fofficial bLedc;b(Ldzh;)Fnamed nextFloatLnet/minecraft/loot/provider/number/LootNumberProvider;nextFloat(Lnet/minecraft/loot/context/LootContext;)F
-
getRequiredParameters
- Specified by:
getRequiredParametersin interfaceLootContextAware- Mappings:
Namespace Name Mixin selector intermediary method_293Lnet/minecraft/class_46;method_293()Ljava/util/Set;official aLdzi;a()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
-