extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.ModifyContainerContents | |
| net.minecraft.class_9669 | |
| net.minecraft.loot.function.ModifyContentsLootFunction |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<ModifyContentsLootFunction> |
|
||||||
| private final ContainerComponentModifier<?> |
|
||||||
| private final LootFunction |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, ContainerComponentModifier<?> component, LootFunction modifier) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<ModifyContentsLootFunction> |
|
||||||
| public ItemStack |
|
||||||
| public void |
|
||||||
| private ItemStack |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|
||||||
| private static LootFunction |
|
||||||
| private static ContainerComponentModifier |
|