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