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

public class ModifyContainerContents

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

eyg
net.minecraft.world.level.storage.loot.functions.ModifyContainerContents
net.minecraft.class_9669
net.minecraft.loot.function.ModifyContentsLootFunction
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
private final ContainerComponentManipulator<?>
b
component
field_51430
component
private final LootItemFunction
c
modifier
field_51431
modifier

Constructor summary

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

Method summary

Modifier and TypeMethod
public LootItemFunctionType<ModifyContainerContents>
b()
getType()
method_29321()
getType()
public ItemStack
a(cxp arg0, ewp arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
public void
a(ewv arg0)
validate(ValidationContext arg0)
method_292(class_58 arg0)
validate(LootTableReporter arg0)