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 |
getMaxLevel() |
int |
getMaxPower(int level) |
int |
getMinPower(int level) |
byRawId, canAccept, canCombine, getEquipment, getMinLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, isTreasure, onTargetDamaged, onUserDamaged
public ImpalingEnchantment(Enchantment.Rarity weight, EquipmentSlot[] slotTypes)
public int getMinPower(int level)
getMinPower
in class Enchantment
public int getMaxPower(int level)
getMaxPower
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public float getAttackDamage(int level, EntityGroup group)
getAttackDamage
in class Enchantment