net.minecraft.world.level.storage.loot.providers.number

public final class BinomialDistributionGenerator

implements NumberProvider

dus
net.minecraft.world.level.storage.loot.providers.number.BinomialDistributionGenerator
net.minecraft.class_40
net.minecraft.loot.provider.number.BinomialLootNumberProvider
net.minecraft.src.C_141495_
net.minecraft.world.level.storage.loot.providers.number.BinomialDistributionGenerator

Field summary

Modifier and TypeField
final NumberProvider
a
n
field_918
n
f_165653_
final NumberProvider
b
p
field_917
p
f_165654_

Constructor summary

ModifierConstructor
(NumberProvider n, NumberProvider p)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
a()
getType()
method_365()
getType()
m_142587_()
public int
a(drg arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public float
b(drg arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public static BinomialDistributionGenerator
a(int arg0, float arg1)
binomial(int arg0, float arg1)
method_273(int arg0, float arg1)
create(int n, float p)
m_165659_(int p_165660_, float p_165661_)
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()