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

public class SetContainerLootTable

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eir
net.minecraft.world.level.storage.loot.functions.SetContainerLootTable
net.minecraft.class_144
net.minecraft.loot.function.SetLootTableLootFunction
net.minecraft.src.C_2944_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetTable

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetContainerLootTable>
a
CODEC
field_45842
CODEC
f_290479_
private final ResourceLocation
b
name
field_1116
id
f_80955_
private final long
c
seed
field_1117
seed
f_80956_
private final Holder<BlockEntityType<?>>
d
type
field_34773
type
f_193043_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, ResourceLocation id, long seed, Holder<BlockEntityType<?>> blockEntityType)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(cmy arg0, egw arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80968_, C_2811_ arg1)
public void
a(ehf arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
public static LootItemConditionalFunction$Builder<?>
a(dgx<?> arg0, ahg arg1)
withLootTable(BlockEntityType<?> arg0, ResourceLocation arg1)
method_35534(class_2591<?> arg0, class_2960 arg1)
builder(BlockEntityType<?> type, Identifier id)
m_193049_(C_1992_<?> p_193050_, C_5265_ p_193051_)
public static LootItemConditionalFunction$Builder<?>
a(dgx<?> arg0, ahg arg1, long arg2)
withLootTable(BlockEntityType<?> arg0, ResourceLocation arg1, long arg2)
method_35535(class_2591<?> arg0, class_2960 arg1, long arg2)
builder(BlockEntityType<?> type, Identifier id, long seed)
m_193052_(C_1992_<?> p_193053_, C_5265_ p_193054_, long p_193055_)