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

public record UniformGenerator

implements NumberProvider

eus
net.minecraft.world.level.storage.loot.providers.number.UniformGenerator
net.minecraft.class_5662
net.minecraft.unmapped.C_kdnklayn
net.minecraft.loot.provider.number.UniformLootNumberProvider
net.minecraft.loot.provider.number.UniformLootNumberProvider
net.minecraft.src.C_141505_
net.minecraft.world.level.storage.loot.providers.number.StorageValue

Field summary

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

Constructor summary

ModifierConstructor
public (NumberProvider min, NumberProvider max)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
m_nqaghysd()
getType()
getType()
m_142587_()
public static UniformGenerator
a(float arg0, float arg1)
between(float arg0, float arg1)
method_32462(float arg0, float arg1)
m_aswskqij(float arg0, float arg1)
create(float min, float max)
create(float min, float max)
m_165780_(float p_165781_, float p_165782_)
public int
a(eqj arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
m_leaoxwyu(C_iakykpgh arg0)
nextInt(LootContext arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public float
b(eqj arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
m_rcohobqm(C_iakykpgh arg0)
nextFloat(LootContext arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public NumberProvider
c()
min()
comp_1900()
m_jxkedihq()
min()
min()
f_165774_()
public NumberProvider
d()
max()
comp_1901()
m_kffjnjac()
max()
max()
f_165775_()