net.minecraft.world.level.storage.loot.functions

public class SetContainerLootTable

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

esh
net.minecraft.world.level.storage.loot.functions.SetContainerLootTable
net.minecraft.class_144
net.minecraft.unmapped.C_uaqvnphc
net.minecraft.loot.function.SetLootTableLootFunction
net.minecraft.loot.function.SetLootTableLootFunction
net.minecraft.src.C_2944_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SetContainerLootTable>
a
CODEC
field_45842
f_dejzscwr
CODEC
CODEC
f_290479_
private final ResourceKey<LootTable>
b
name
field_1116
f_sqgmeqhc
lootTable
id
f_80955_
private final long
c
seed
field_1117
f_asvawnnq
seed
seed
f_80956_
private final Holder<BlockEntityType<?>>
d
type
field_34773
f_krvywmzb
type
type
f_193043_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, ResourceKey<LootTable> lootTable, long seed, Holder<BlockEntityType<?>> blockEntityType)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetContainerLootTable>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cuq arg0, eqj arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80968_, C_2811_ arg1)
public void
a(eqp arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
m_jdmehacf(C_eumtgsbp arg0)
validate(LootTableReporter arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
public static LootItemConditionalFunction$Builder<?>
a(dpk<?> arg0, ale<eqo> arg1)
withLootTable(BlockEntityType<?> arg0, ResourceKey<LootTable> arg1)
method_35534(class_2591<?> arg0, class_5321<class_52> arg1)
m_gsrahwlg(C_wgqvodus<?> arg0, C_xhhleach<C_inwsuliy> arg1)
builder(BlockEntityType<?> type, RegistryKey<LootTable> lootTable)
m_gsrahwlg(BlockEntityType<?> arg0, RegistryKey<LootTable> registryKey)
m_193049_(C_1992_<?> p_193050_, C_5264_<C_2822_> p_334597_)
public static LootItemConditionalFunction$Builder<?>
a(dpk<?> arg0, ale<eqo> arg1, long arg2)
withLootTable(BlockEntityType<?> arg0, ResourceKey<LootTable> arg1, long arg2)
method_35535(class_2591<?> arg0, class_5321<class_52> arg1, long arg2)
m_jkgbkadv(C_wgqvodus<?> arg0, C_xhhleach<C_inwsuliy> arg1, long arg2)
builder(BlockEntityType<?> type, RegistryKey<LootTable> lootTable, long seed)
m_jkgbkadv(BlockEntityType<?> arg0, RegistryKey<LootTable> registryKey, long arg2)
m_193052_(C_1992_<?> p_193053_, C_5264_<C_2822_> p_332251_, long p_193055_)