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