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, setNameprotected EnchantmentDigging(int enchID,
ResourceLocation enchName,
int enchWeight)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic boolean canApply(ItemStack stack)
canApply in class Enchantment