extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| fen | |
| net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction | |
| net.minecraft.class_106 | |
| net.minecraft.loot.function.EnchantWithLevelsLootFunction | |
| net.minecraft.src.C_2910_ | |
| net.minecraft.world.level.storage.loot.functions.LootEnchantLevel |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<EnchantWithLevelsFunction> |
| ||||||||||
| private final NumberProvider |
| ||||||||||
| private final Optional<HolderSet<Enchantment>> |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| (List<LootItemCondition> conditions, NumberProvider levels, Optional<HolderSet<Enchantment>> options) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<EnchantWithLevelsFunction> |
| ||||||||||
| public Set<ContextKey<?>> |
| ||||||||||
| public ItemStack |
| ||||||||||
| public static EnchantWithLevelsFunction$Builder |
|