extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| ctc | |
| net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction | |
| net.minecraft.class_106 | |
| net.minecraft.unmapped.C_hujvlqyo | |
| net.minecraft.loot.function.EnchantWithLevelsLootFunction | |
| net.minecraft.world.storage.loot.functions.EnchantWithLevels | |
| net.minecraft.server.v1_15_R1.LootEnchantLevel |
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 |
|