public class ImpalingEnchantment extends Enchantment
Enchantment.RaritytranslationKey, 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, onUserDamagedpublic ImpalingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)
public int getMinimumPower(int level)
getMinimumPower in class Enchantmentpublic int getMaximumPower(int level)
getMaximumPower in class Enchantmentpublic int getMaximumLevel()
getMaximumLevel in class Enchantmentpublic float getAttackDamage(int level,
EntityGroup group)
getAttackDamage in class Enchantment