extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
erk | |
net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction | |
net.minecraft.class_9317 | |
net.minecraft.loot.function.CopyComponentsLootFunction | |
net.minecraft.src.C_313760_ | |
net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction |
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<LootContextParam<?>> |
| ||||||||||
public ItemStack |
| ||||||||||
public static CopyComponentsFunction$Builder |
|