extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| ext | |
| net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction | |
| net.minecraft.class_106 | |
| net.minecraft.loot.function.EnchantWithLevelsLootFunction | |
| net.minecraft.unmapped.C_hujvlqyo | |
| net.minecraft.loot.function.EnchantWithLevelsLootFunction | |
| net.minecraft.src.C_2910_ |
Field summary
| Modifier and Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<EnchantWithLevelsLootFunction> |
| ||||||||||||||
| private final LootNumberProvider |
| ||||||||||||||
| private final Optional<RegistryEntryList<Enchantment>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootCondition> conditions, LootNumberProvider levels, Optional<RegistryEntryList<Enchantment>> options) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootFunctionType<EnchantWithLevelsLootFunction> |
| ||||||||||||||
| public Set<ContextParameter<?>> |
| ||||||||||||||
| public ItemStack |
| ||||||||||||||
| public static EnchantWithLevelsLootFunction$Builder |
|