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