public class MendingEnchantment extends Enchantment
Enchantment.RaritytranslationKey, type| Constructor and Description |
|---|
MendingEnchantment(Enchantment.Rarity weight,
EquipmentSlot[] slotTypes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumLevel() |
int |
getMaximumPower(int level) |
int |
getMinimumPower(int level) |
boolean |
isTreasure() |
byRawId, canAccept, canCombine, getAttackDamage, getEquipment, getMinimumLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, onTargetDamaged, onUserDamagedpublic MendingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)
public int getMinimumPower(int level)
getMinimumPower in class Enchantmentpublic int getMaximumPower(int level)
getMaximumPower in class Enchantmentpublic boolean isTreasure()
isTreasure in class Enchantmentpublic int getMaximumLevel()
getMaximumLevel in class Enchantment