extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| csz | |
| net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction | |
| net.minecraft.class_106 | |
| net.minecraft.loot.function.EnchantWithLevelsLootFunction | |
| net.minecraft.world.storage.loot.functions.EnchantWithLevels |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final RandomIntGenerator |
| ||||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (LootItemCondition[] conditions, RandomIntGenerator range, boolean treasureEnchantmentsAllowed) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public ItemStack |
| ||||||||||
| public static EnchantWithLevelsFunction$Builder |
|