public class EnchantmentDigging extends Enchantment
aquaAffinity, baneOfArthropods, blastProtection, depthStrider, effectId, efficiency, enchantmentsBookList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, luckOfTheSea, lure, name, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking
Modifier | Constructor and Description |
---|---|
protected |
EnchantmentDigging(int enchID,
ResourceLocation enchName,
int enchWeight) |
Modifier and Type | Method and Description |
---|---|
boolean |
canApply(ItemStack stack) |
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
addToBookList, calcDamageByCreature, calcModifierDamage, canApplyAtEnchantingTable, canApplyTogether, getEnchantmentById, getEnchantmentByLocation, getLocationNames, getMinLevel, getName, getTranslatedName, getWeight, isAllowedOnBooks, onEntityDamaged, onUserHurt, setName
protected EnchantmentDigging(int enchID, ResourceLocation enchName, int enchWeight)
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