extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eem | |
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.Codec<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 |
| ||||||||||
public Set<LootContextParam<?>> |
| ||||||||||
public ItemStack |
| ||||||||||
private static void |
|