extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
edw | |
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 |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.Codec<EnchantWithLevelsFunction> |
| ||||||||||
private final NumberProvider |
| ||||||||||
private final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
(List<LootItemCondition> conditions, NumberProvider range, boolean treasureEnchantmentsAllowed) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType |
| ||||||||||
public Set<LootContextParam<?>> |
| ||||||||||
public ItemStack |
| ||||||||||
public static EnchantWithLevelsFunction$Builder |
|