extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| esr | |
| net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction | |
| net.minecraft.class_9317 | |
| net.minecraft.loot.function.CopyComponentsLootFunction | |
| net.minecraft.unmapped.C_mbgfajkg | |
| net.minecraft.loot.function.CopyComponentsLootFunction | |
| net.minecraft.src.C_313760_ |
Field summary
| Modifier and Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<CopyComponentsLootFunction> |
| ||||||||||||||
| private final CopyComponentsLootFunction$Source |
| ||||||||||||||
| private final Optional<List<ComponentType<?>>> |
| ||||||||||||||
| private final Optional<List<ComponentType<?>>> |
| ||||||||||||||
| private final Predicate<ComponentType<?>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootCondition> conditions, CopyComponentsLootFunction$Source source, Optional<List<ComponentType<?>>> include, Optional<List<ComponentType<?>>> exclude) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootFunctionType<CopyComponentsLootFunction> |
| ||||||||||||||
| public Set<LootContextParameter<?>> |
| ||||||||||||||
| public ItemStack |
| ||||||||||||||
| public static CopyComponentsLootFunction$Builder |
|