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

public record StorageValue

implements NumberProvider

fsl
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

字段概要

修饰符与类型字段
private final Identifier
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_

构造函数概要

修饰符构造函数
public (Identifier storage, NbtPathArgument$NbtPath path)

方法概要

修饰符与类型方法
public LootNumberProviderType
a()
getType()
method_365()
getType()
m_142587_()
private Number
a(fnz arg0, Number arg1)
getNumericTag(LootContext arg0, Number arg1)
method_58471(class_47 arg0, Number arg1)
getNumber(LootContext context, Number fallback)
m_323577_(C_2811_ p_393342_, Number arg1)
public float
b(fnz arg0)
getFloat(LootContext arg0)
method_32454(class_47 arg0)
nextFloat(LootContext arg0)
m_142688_(C_2811_ arg0)
public int
a(fnz arg0)
getInt(LootContext arg0)
method_366(class_47 arg0)
nextInt(LootContext arg0)
m_142683_(C_2811_ arg0)
public Identifier
c()
storage()
comp_2525()
storage()
f_316218_()
public NbtPathArgument$NbtPath
d()
path()
comp_2526()
path()
f_314609_()