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

public record StorageValue

implements NumberProvider

eus
net.minecraft.world.level.storage.loot.providers.number.StorageValue
net.minecraft.class_9432
net.minecraft.loot.provider.number.StorageLootNumberProvider
net.minecraft.src.C_313707_
net.minecraft.world.level.storage.loot.providers.number.StorageValue

Field summary

Modifier and TypeField
private final ResourceLocation
b
storage
comp_2525
storage
f_316218_
private final NbtPathArgument$NbtPath
c
path
comp_2526
path
f_314609_
public static final com.mojang.serialization.MapCodec<StorageValue>
a
CODEC
field_50033
CODEC
f_316731_

Constructor summary

ModifierConstructor
public (ResourceLocation path, NbtPathArgument$NbtPath arg1)

Method summary

Modifier and TypeMethod
public LootNumberProviderType
b()
getType()
method_365()
getType()
m_142587_()
private Optional<NumericTag>
c(eqk arg0)
getNumericTag(LootContext arg0)
method_58471(class_47 arg0)
getNumber(LootContext context)
m_323577_(C_2811_ arg0)
public float
b(eqk arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public int
a(eqk arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public ResourceLocation
c()
storage()
comp_2525()
storage()
f_316218_()
public NbtPathArgument$NbtPath
d()
path()
comp_2526()
path()
f_314609_()