extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| dlt | |
| 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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| final Map<Enchantment, NumberProvider> |
| ||||||||||
| final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (LootItemCondition[] conditions, Map<Enchantment, NumberProvider> enchantments, boolean add) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType |
| ||||||||||
| public Set<LootContextParam<?>> |
| ||||||||||
| public ItemStack |
| ||||||||||
| private static void |
|