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

public record UniformGenerator

implements NumberProvider

egn
net.minecraft.world.level.storage.loot.providers.number.UniformGenerator
net.minecraft.class_5662
net.minecraft.loot.provider.number.UniformLootNumberProvider
net.minecraft.src.C_141505_
net.minecraft.world.level.storage.loot.providers.number.UniformGenerator

Field summary

Modifier and TypeField
private final NumberProvider
b
min
comp_1900
min
f_165774_
private final NumberProvider
c
max
comp_1901
max
f_165775_
public static final com.mojang.serialization.Codec<UniformGenerator>
a
CODEC
field_45891
CODEC
f_291637_

Constructor summary

ModifierConstructor
public (NumberProvider min, NumberProvider max)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
getType()
m_142587_()
public static UniformGenerator
a(float arg0, float arg1)
between(float arg0, float arg1)
method_32462(float arg0, float arg1)
create(float min, float max)
m_165780_(float p_165781_, float p_165782_)
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 Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public NumberProvider
c()
min()
comp_1900()
min()
f_165774_()
public NumberProvider
d()
max()
comp_1901()
max()
f_165775_()