| net.minecraft.world.item.enchantment.Enchantment$EnchantmentDefinition | |
| net.minecraft.class_1887$class_9427 | |
| net.minecraft.enchantment.Enchantment$Definition |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final RegistryEntryList<Item> |
|
||||||
| private final Optional<RegistryEntryList<Item>> |
|
||||||
| private final int |
|
||||||
| private final int |
|
||||||
| private final Enchantment$Cost |
|
||||||
| private final Enchantment$Cost |
|
||||||
| private final int |
|
||||||
| private final List<AttributeModifierSlot> |
|
||||||
| public static final com.mojang.serialization.MapCodec<Enchantment$Definition> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryEntryList<Item> supportedItems, Optional<RegistryEntryList<Item>> primaryItems, int weight, int maxLevel, Enchantment$Cost minCost, Enchantment$Cost maxCost, int anvilCost, List<AttributeModifierSlot> slots) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public RegistryEntryList<Item> |
|
||||||
| public Optional<RegistryEntryList<Item>> |
|
||||||
| public int |
|
||||||
| public int |
|
||||||
| public Enchantment$Cost |
|
||||||
| public Enchantment$Cost |
|
||||||
| public int |
|
||||||
| public List<AttributeModifierSlot> |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|