extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
esl | |
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction | |
net.minecraft.class_5642 | |
net.minecraft.loot.function.SetEnchantmentsLootFunction | |
net.minecraft.src.C_141470_ | |
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<SetEnchantmentsFunction> |
| ||||||||||
private final Map<Holder<Enchantment>, NumberProvider> |
| ||||||||||
private final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
(List<LootItemCondition> conditions, Map<Holder<Enchantment>, NumberProvider> enchantments, boolean add) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<SetEnchantmentsFunction> |
| ||||||||||
public Set<LootContextParam<?>> |
| ||||||||||
public ItemStack |
|