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