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