public class EnchantmentDigging extends Enchantment
Enchantment.Rarity
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
name, REGISTRY, type
delegate
Modifier | Constructor and Description |
---|---|
protected |
EnchantmentDigging(Enchantment.Rarity rarityIn,
EntityEquipmentSlot... slots) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack stack) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
calcDamageByCreature, calcModifierDamage, canApplyAtEnchantingTable, canApplyTogether, getEnchantmentByID, getEnchantmentByLocation, getEnchantmentID, getEntityEquipment, getMinLevel, getName, getRarity, getTranslatedName, isAllowedOnBooks, isTreasureEnchantment, onEntityDamaged, onUserHurt, registerEnchantments, setName
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
protected EnchantmentDigging(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 boolean canApply(ItemStack stack)
canApply
in class Enchantment