public class EfficiencyEnchantment extends Enchantment
Enchantment.Rarityname, typedelegate| Modifier | Constructor and Description | 
|---|---|
| protected  | EfficiencyEnchantment(Enchantment.Rarity rarityIn,
                     EquipmentSlotType... 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, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurtgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameprotected EfficiencyEnchantment(Enchantment.Rarity rarityIn, EquipmentSlotType... slots)
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