Class BinomialLootNumberProvider
java.lang.Object
net.minecraft.loot.provider.number.BinomialLootNumberProvider
- All Implemented Interfaces:
LootContextAware,LootNumberProvider
- Mappings:
Namespace Name official dsrintermediary net/minecraft/class_40named net/minecraft/loot/provider/number/BinomialLootNumberProvider
-
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 BinomialLootNumberProvidercreate(int n, float p) 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
-
n
- Mappings:
Namespace Name Mixin selector official aLdsr;a:Ldsu;intermediary field_918Lnet/minecraft/class_40;field_918:Lnet/minecraft/class_5658;named nLnet/minecraft/loot/provider/number/BinomialLootNumberProvider;n:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
p
- Mappings:
Namespace Name Mixin selector official bLdsr;b:Ldsu;intermediary field_917Lnet/minecraft/class_40;field_917:Lnet/minecraft/class_5658;named pLnet/minecraft/loot/provider/number/BinomialLootNumberProvider;p:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
-
Constructor Details
-
BinomialLootNumberProvider
BinomialLootNumberProvider(LootNumberProvider n, LootNumberProvider p) - Mappings:
Namespace Name Mixin selector official <init>Ldsr;<init>(Ldsu;Ldsu;)Vintermediary <init>Lnet/minecraft/class_40;<init>(Lnet/minecraft/class_5658;Lnet/minecraft/class_5658;)Vnamed <init>Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;<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 aLdsu;a()Ldst;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;
-
nextInt
- Specified by:
nextIntin interfaceLootNumberProvider- Mappings:
Namespace Name Mixin selector official aLdsu;a(Ldpg;)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 bLdsu;b(Ldpg;)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
-
create
- Mappings:
Namespace Name Mixin selector official aLdsr;a(IF)Ldsr;intermediary method_273Lnet/minecraft/class_40;method_273(IF)Lnet/minecraft/class_40;named createLnet/minecraft/loot/provider/number/BinomialLootNumberProvider;create(IF)Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;
-
getRequiredParameters
- Specified by:
getRequiredParametersin interfaceLootContextAware- Mappings:
Namespace Name Mixin selector official bLdph;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;
-