extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| eto | |
| 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 Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetContainerContents> |
| ||||||||||||||
| private final ContainerComponentManipulator<?> |
| ||||||||||||||
| private final List<LootPoolEntryContainer> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootItemCondition> conditions, ContainerComponentManipulator<?> component, List<LootPoolEntryContainer> entries) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<SetContainerContents> |
| ||||||||||||||
| public ItemStack |
| ||||||||||||||
| public void |
| ||||||||||||||
| public static SetContainerContents$Builder |
|