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

public class UniformGenerator

implements NumberProvider

dvv
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
final NumberProvider
a
min
field_27928
min
f_165774_
final NumberProvider
b
max
field_27929
max
f_165775_

Constructor summary

ModifierConstructor
(NumberProvider min, NumberProvider max)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
a()
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(dsd arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public float
b(dsd arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()