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

public class SetContainerContents

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eek
net.minecraft.world.level.storage.loot.functions.SetContainerContents
net.minecraft.class_134
net.minecraft.loot.function.SetContentsLootFunction
net.minecraft.src.C_2940_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SetContainerContents>
a
CODEC
field_45841
CODEC
f_291835_
private final Holder<BlockEntityType<?>>
b
type
field_34771
type
f_193031_
private final List<LootPoolEntryContainer>
c
entries
field_1103
entries
f_80902_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, Holder<BlockEntityType<?>> blockEntityType, List<LootPoolEntryContainer> entries)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(cjf arg0, ecq arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80912_, C_2811_ arg1)
public void
a(ecz arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)
public static SetContainerContents$Builder
a(dcx<?> arg0)
setContents(BlockEntityType<?> arg0)
method_601(class_2591<?> arg0)
builder(BlockEntityType<?> type)
m_193036_(C_1992_<?> p_193037_)