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

public record BinomialDistributionGenerator

implements NumberProvider

egh
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
private final NumberProvider
b
n
comp_1893
n
f_165653_
private final NumberProvider
c
p
comp_1894
p
f_165654_
public static final com.mojang.serialization.Codec<BinomialDistributionGenerator>
a
CODEC
field_45885
CODEC
f_290666_

Constructor summary

ModifierConstructor
public (NumberProvider n, NumberProvider p)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
getType()
m_142587_()
public int
a(ecq arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public float
b(ecq 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<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public NumberProvider
c()
n()
comp_1893()
n()
f_165653_()
public NumberProvider
d()
p()
comp_1894()
p()
f_165654_()