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

public class SetContainerContents

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eym
net.minecraft.world.level.storage.loot.functions.SetContainerContents
net.minecraft.class_134
net.minecraft.unmapped.C_zwjmmlxa
net.minecraft.loot.function.SetContentsLootFunction
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.MapCodec<SetContainerContents>
a
CODEC
field_45841
f_podmllfs
CODEC
CODEC
f_291835_
private final ContainerComponentManipulator<?>
b
component
field_51432
f_odpupfly
component
component
f_315714_
private final List<LootPoolEntryContainer>
c
entries
field_1103
f_nbcugmpv
entries
entries
f_80902_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, ContainerComponentManipulator<?> component, List<LootPoolEntryContainer> entries)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<SetContainerContents>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public ItemStack
a(cxp arg0, ewp 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_80912_, C_2811_ arg1)
public void
a(ewv 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 SetContainerContents$Builder
a(ewm<?> arg0)
setContents(ContainerComponentManipulator<?> arg0)
method_601(class_9666<?> arg0)
m_eupdzfta(C_vgxbedbz<?> arg0)
builder(ContainerComponentModifier<?> componentModifier)
builder(ContainerComponentModifier<?> modifier)
m_193036_(C_313775_<?> p_328808_)