extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
fcs | |
net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction | |
net.minecraft.class_106 |
Field summary
Modifier and Type | Field | ||||||
---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<EnchantWithLevelsFunction> |
| ||||||
private final NumberProvider |
| ||||||
private final Optional<HolderSet<Enchantment>> |
|
Constructor summary
Modifier | Constructor |
---|---|
(List<LootItemCondition> arg0, NumberProvider arg1, Optional<HolderSet<Enchantment>> arg2) |
Method summary
Modifier and Type | Method | ||||||
---|---|---|---|---|---|---|---|
public LootItemFunctionType<EnchantWithLevelsFunction> |
| ||||||
public Set<ContextKey<?>> |
| ||||||
public ItemStack |
| ||||||
public static EnchantWithLevelsFunction$Builder |
|