public class PiercingEnchantment extends Enchantment
Enchantment.Rarity
name, type
delegate
Constructor and Description |
---|
PiercingEnchantment(Enchantment.Rarity p_i50019_1_,
EquipmentSlotType... p_i50019_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApplyTogether(Enchantment ench) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurt
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public PiercingEnchantment(Enchantment.Rarity p_i50019_1_, EquipmentSlotType... p_i50019_2_)
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 boolean canApplyTogether(Enchantment ench)
canApplyTogether
in class Enchantment