extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| fah | |
| net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction | |
| net.minecraft.class_9317 | |
| net.minecraft.unmapped.C_mbgfajkg | |
| net.minecraft.loot.function.CopyComponentsLootFunction | |
| net.minecraft.loot.function.CopyComponentsLootFunction |
Field summary
| Modifier and Type | Field | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<CopyComponentsFunction> |
| ||||||||||||
| private final CopyComponentsFunction$Source |
| ||||||||||||
| private final Optional<List<DataComponentType<?>>> |
| ||||||||||||
| private final Optional<List<DataComponentType<?>>> |
| ||||||||||||
| private final Predicate<DataComponentType<?>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootItemCondition> conditions, CopyComponentsFunction$Source source, Optional<List<DataComponentType<?>>> include, Optional<List<DataComponentType<?>>> exclude) |
Method summary
| Modifier and Type | Method | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<CopyComponentsFunction> |
| ||||||||||||
| public Set<ContextKey<?>> |
| ||||||||||||
| public ItemStack |
| ||||||||||||
| public static CopyComponentsFunction$Builder |
|