Class BinomialLootNumberProvider
java.lang.Object
net.minecraft.loot.provider.number.BinomialLootNumberProvider
- All Implemented Interfaces:
LootContextAware
,LootNumberProvider
- Mappings:
Namespace Name official dmy
intermediary net/minecraft/class_40
named net/minecraft/loot/provider/number/BinomialLootNumberProvider
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final LootNumberProvider
(package private) final LootNumberProvider
-
Constructor Summary
ConstructorDescriptionBinomialLootNumberProvider
(LootNumberProvider lootNumberProvider, LootNumberProvider lootNumberProvider2) -
Method Summary
Modifier and TypeMethodDescriptionstatic BinomialLootNumberProvider
create
(int n, float p) getType()
float
nextFloat
(LootContext context) int
nextInt
(LootContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.context.LootContextAware
validate
-
Field Details
-
n
- Mappings:
Namespace Name Mixin selector official a
Ldmy;a:Ldnb;
intermediary field_918
Lnet/minecraft/class_40;field_918:Lnet/minecraft/class_5658;
named n
Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;n:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
p
- Mappings:
Namespace Name Mixin selector official b
Ldmy;b:Ldnb;
intermediary field_917
Lnet/minecraft/class_40;field_917:Lnet/minecraft/class_5658;
named p
Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;p:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
-
Constructor Details
-
BinomialLootNumberProvider
BinomialLootNumberProvider(LootNumberProvider lootNumberProvider, LootNumberProvider lootNumberProvider2)
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceLootNumberProvider
- Mappings:
Namespace Name Mixin selector official a
Ldnb;a()Ldna;
intermediary method_365
Lnet/minecraft/class_5658;method_365()Lnet/minecraft/class_5657;
named getType
Lnet/minecraft/loot/provider/number/LootNumberProvider;getType()Lnet/minecraft/loot/provider/number/LootNumberProviderType;
-
nextInt
- Specified by:
nextInt
in interfaceLootNumberProvider
- Mappings:
Namespace Name Mixin selector official a
Ldnb;a(Ldjn;)I
intermediary method_366
Lnet/minecraft/class_5658;method_366(Lnet/minecraft/class_47;)I
named nextInt
Lnet/minecraft/loot/provider/number/LootNumberProvider;nextInt(Lnet/minecraft/loot/context/LootContext;)I
-
nextFloat
- Specified by:
nextFloat
in interfaceLootNumberProvider
- Mappings:
Namespace Name Mixin selector official b
Ldnb;b(Ldjn;)F
intermediary method_32454
Lnet/minecraft/class_5658;method_32454(Lnet/minecraft/class_47;)F
named nextFloat
Lnet/minecraft/loot/provider/number/LootNumberProvider;nextFloat(Lnet/minecraft/loot/context/LootContext;)F
-
create
- Mappings:
Namespace Name Mixin selector official a
Ldmy;a(IF)Ldmy;
intermediary method_273
Lnet/minecraft/class_40;method_273(IF)Lnet/minecraft/class_40;
named create
Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;create(IF)Lnet/minecraft/loot/provider/number/BinomialLootNumberProvider;
-
getRequiredParameters
- Specified by:
getRequiredParameters
in interfaceLootContextAware
- Mappings:
Namespace Name Mixin selector official b
Ldjo;b()Ljava/util/Set;
intermediary method_293
Lnet/minecraft/class_46;method_293()Ljava/util/Set;
named getRequiredParameters
Lnet/minecraft/loot/context/LootContextAware;getRequiredParameters()Ljava/util/Set;
-