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 Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<ModifyContainerContents> |
| ||||||||||
private final ContainerComponentManipulator<?> |
| ||||||||||
private final LootItemFunction |
|
Constructor summary
Modifier | Constructor |
---|---|
private | (List<LootItemCondition> conditions, ContainerComponentManipulator<?> component, LootItemFunction modifier) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<ModifyContainerContents> |
| ||||||||||
public ItemStack |
| ||||||||||
public void |
|