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

public record ConstantValue

implements NumberProvider

evv
net.minecraft.world.level.storage.loot.providers.number.ConstantValue
net.minecraft.class_44
net.minecraft.unmapped.C_npgjgxqg
net.minecraft.loot.provider.number.ConstantLootNumberProvider
net.minecraft.loot.provider.number.ConstantLootNumberProvider
net.minecraft.src.C_141497_
net.minecraft.world.level.storage.loot.providers.number.ConstantValue

Field summary

Modifier and TypeField
private final float
c
value
comp_1895
f_amgycmjn
value
value
f_165688_
public static final com.mojang.serialization.MapCodec<ConstantValue>
a
CODEC
field_45886
f_ogdywobd
CODEC
CODEC
f_290475_
public static final com.mojang.serialization.Codec<ConstantValue>
b
INLINE_CODEC
field_45887
f_cabhctzq
INLINE_CODEC
f_291634_

Constructor summary

ModifierConstructor
public (float value)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
m_nqaghysd()
getType()
getType()
m_142587_()
public float
b(err 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 static ConstantValue
a(float arg0)
exactly(float arg0)
method_32448(float arg0)
m_orxeopbj(float arg0)
create(float value)
create(float value)
m_165692_(float p_165693_)
public float
c()
value()
comp_1895()
m_truhcspr()
value()
value()
f_165688_()