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

public record StorageValue

implements NumberProvider

fax
net.minecraft.world.level.storage.loot.providers.number.StorageValue
net.minecraft.class_9432
net.minecraft.loot.provider.number.StorageLootNumberProvider
net.minecraft.world.level.storage.loot.providers.number.StorageValue

Field summary

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

Constructor summary

ModifierConstructor
public (ResourceLocation arg0, NbtPathArgument$NbtPath arg1)

Method summary

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