Class UniformLootNumberProvider
java.lang.Object
net.minecraft.loot.provider.number.UniformLootNumberProvider
- All Implemented Interfaces:
LootContextAware,LootNumberProvider
- Mappings:
Namespace Name official duyintermediary net/minecraft/class_5662named 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 official aLduy;a:Lduv;intermediary field_27928Lnet/minecraft/class_5662;field_27928:Lnet/minecraft/class_5658;named minLnet/minecraft/loot/provider/number/UniformLootNumberProvider;min:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
max
- Mappings:
Namespace Name Mixin selector official bLduy;b:Lduv;intermediary field_27929Lnet/minecraft/class_5662;field_27929:Lnet/minecraft/class_5658;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 official <init>Lduy;<init>(Lduv;Lduv;)Vintermediary <init>Lnet/minecraft/class_5662;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)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 official aLduv;a()Lduu;intermediary method_365Lnet/minecraft/class_5658;method_365()Lnet/minecraft/class_5657;named getTypeLnet/minecraft/loot/provider/number/LootNumberProvider;getType()Lnet/minecraft/loot/provider/number/LootNumberProviderType;
-
create
- Mappings:
Namespace Name Mixin selector official aLduy;a(FF)Lduy;intermediary method_32462Lnet/minecraft/class_5662;method_32462(FF)Lnet/minecraft/class_5662;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 official aLduv;a(Ldrg;)Iintermediary method_366Lnet/minecraft/class_5658;method_366(Lnet/minecraft/class_47;)Inamed nextIntLnet/minecraft/loot/provider/number/LootNumberProvider;nextInt(Lnet/minecraft/loot/context/LootContext;)I
-
nextFloat
- Specified by:
nextFloatin interfaceLootNumberProvider- Mappings:
Namespace Name Mixin selector official bLduv;b(Ldrg;)Fintermediary method_32454Lnet/minecraft/class_5658;method_32454(Lnet/minecraft/class_47;)Fnamed nextFloatLnet/minecraft/loot/provider/number/LootNumberProvider;nextFloat(Lnet/minecraft/loot/context/LootContext;)F
-
getRequiredParameters
- Specified by:
getRequiredParametersin interfaceLootContextAware- Mappings:
Namespace Name Mixin selector official bLdrh;b()Ljava/util/Set;intermediary method_293Lnet/minecraft/class_46;method_293()Ljava/util/Set;named getRequiredParametersLnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
-