net.minecraft.world.item.component

public record SeededContainerLoot

implements TooltipProvider

doz
net.minecraft.world.item.component.SeededContainerLoot
net.minecraft.class_9297
net.minecraft.component.type.ContainerLootComponent
net.minecraft.src.C_313649_
net.minecraft.world.item.component.SeededContainerLoot

字段概要

修饰符与类型字段
private final ResourceKey<LootTable>
b
lootTable
comp_2414
lootTable
f_314778_
private final long
c
seed
comp_2415
seed
f_314296_
private static final Component
d
UNKNOWN_CONTENTS
field_56315
UNKNOWN_LOOT_TABLE_TOOLTIP_TEXT
f_380791_
public static final com.mojang.serialization.Codec<SeededContainerLoot>
a
CODEC
field_49361
CODEC
f_315295_

构造函数概要

修饰符构造函数
public (ResourceKey<LootTable> lootTable, long seed)

方法概要

修饰符与类型方法
public void
a(dlp$b arg0, Consumer<yh> arg1, dnj arg2, kd arg3)
addToTooltip(Item$TooltipContext arg0, Consumer<Component> arg1, TooltipFlag arg2, DataComponentGetter arg3)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
m_319025_(C_1381_$C_313602_ p_391736_, Consumer<C_4996_> p_396577_, C_1431_ p_397801_, C_379187_ arg3)
public ResourceKey<LootTable>
a()
lootTable()
comp_2414()
lootTable()
f_314778_()
public long
b()
seed()
comp_2415()
seed()
f_314296_()