public class EnchantmentImpaling extends Enchantment
Enchantment.Rarity
name, type
delegate
Constructor and Description |
---|
EnchantmentImpaling(Enchantment.Rarity rarityIn,
EntityEquipmentSlot... slots) |
Modifier and Type | Method and Description |
---|---|
float |
calcDamageByCreature(int level,
CreatureAttribute creatureType) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, func_200305_d, getDefaultTranslationKey, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurt, registerEnchantments
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public EnchantmentImpaling(Enchantment.Rarity rarityIn, EntityEquipmentSlot... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public float calcDamageByCreature(int level, CreatureAttribute creatureType)
calcDamageByCreature
in class Enchantment