extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| fqe | |
| 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 |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetEnchantmentsFunction> |
| ||||||||||
| private final Map<Holder<Enchantment>, NumberProvider> |
| ||||||||||
| private final boolean |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| (List<LootItemCondition> conditions, Map<Holder<Enchantment>, NumberProvider> enchantments, boolean add) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<SetEnchantmentsFunction> |
| ||||||||||
| public Set<ContextKey<?>> |
| ||||||||||
| public ItemStack |
|