public class RiptideEnchantment extends Enchantment
Enchantment.Rarity
translationKey, type
Constructor and Description |
---|
RiptideEnchantment(Enchantment.Rarity weight,
EquipmentSlot[] slotTypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAccept(Enchantment other)
Returns whether this enchantment can exist on an item stack with the
other enchantment. |
int |
getMaximumLevel() |
int |
getMaximumPower(int level) |
int |
getMinimumPower(int level) |
byRawId, canCombine, getAttackDamage, getEquipment, getMinimumLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, isTreasure, onTargetDamaged, onUserDamaged
public RiptideEnchantment(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 canAccept(Enchantment other)
other
enchantment.canAccept
in class Enchantment