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

public record ConstantValue

implements NumberProvider

egi
net.minecraft.world.level.storage.loot.providers.number.ConstantValue
net.minecraft.class_44
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
value
f_165688_
public static final com.mojang.serialization.Codec<ConstantValue>
a
CODEC
field_45886
CODEC
f_290475_
public static final com.mojang.serialization.Codec<ConstantValue>
b
INLINE_CODEC
field_45887
field_45887
f_291634_

Constructor summary

ModifierConstructor
public (float value)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
getType()
m_142587_()
public float
b(ecq arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public static ConstantValue
a(float arg0)
exactly(float arg0)
method_32448(float arg0)
create(float value)
m_165692_(float p_165693_)
public float
c()
value()
comp_1895()
value()
f_165688_()