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

public class ModifyContainerContents

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eti
net.minecraft.world.level.storage.loot.functions.ModifyContainerContents
net.minecraft.class_9669
net.minecraft.loot.function.ModifyContentsLootFunction
net.minecraft.src.C_313513_
net.minecraft.world.level.storage.loot.functions.ModifyContainerContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<ModifyContainerContents>
a
CODEC
field_51429
CODEC
f_315705_
private final ContainerComponentManipulator<?>
b
component
field_51430
component
f_317121_
private final LootItemFunction
c
modifier
field_51431
modifier
f_315648_

Constructor summary

ModifierConstructor
private (List<LootItemCondition> conditions, ContainerComponentManipulator<?> component, LootItemFunction modifier)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<ModifyContainerContents>
b()
getType()
method_29321()
getType()
m_7162_()
public ItemStack
a(cuq arg0, err arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_328367_, C_2811_ arg1)
public void
a(erx arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)
m_6169_(C_2837_ arg0)