## Uses of Class
net.minecraft.enchantment.Enchantment

- Packages that use Enchantment
  Package | Description
  --- | ---
  net.minecraft.enchantment |
  net.minecraft.item |

- - ### Uses of Enchantment in net.minecraft.enchantment

    Subclasses of Enchantment in net.minecraft.enchantment
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EnchantmentArrowDamage`
    `class` | `EnchantmentArrowFire`
    `class` | `EnchantmentArrowInfinite`
    `class` | `EnchantmentArrowKnockback`
    `class` | `EnchantmentDamage`
    `class` | `EnchantmentDigging`
    `class` | `EnchantmentDurability`
    `class` | `EnchantmentFireAspect`
    `class` | `EnchantmentKnockback`
    `class` | `EnchantmentLootBonus`
    `class` | `EnchantmentOxygen`
    `class` | `EnchantmentProtection`
    `class` | `EnchantmentThorns`
    `class` | `EnchantmentUntouching`
    `class` | `EnchantmentWaterWorker`

    Fields in net.minecraft.enchantment declared as Enchantment
    Modifier and Type | Field and Description
    --- | ---
    `static Enchantment` | Enchantment.`aquaAffinity` Increases underwater mining rate
    `static Enchantment` | Enchantment.`baneOfArthropods` Extra damage to spiders, cave spiders and silverfish
    `static Enchantment` | Enchantment.`blastProtection` Protection against explosions
    `static Enchantment` | Enchantment.`efficiency` Faster resource gathering while in use
    `Enchantment` | EnchantmentData.`enchantmentobj` Enchantment object associated with this EnchantmentData
    `static Enchantment[]` | Enchantment.`enchantmentsList`
    `static Enchantment` | Enchantment.`featherFalling` Less fall damage
    `static Enchantment[]` | Enchantment.`field_92090_c`
    `static Enchantment` | Enchantment.`fireAspect` Lights mobs on fire
    `static Enchantment` | Enchantment.`fireProtection` Protection against fire
    `static Enchantment` | Enchantment.`flame` Flame enchantment for bows.
    `static Enchantment` | Enchantment.`fortune` Can multiply the drop rate of items from blocks
    `static Enchantment` | Enchantment.`infinity` Infinity enchantment for bows.
    `static Enchantment` | Enchantment.`knockback` Knocks mob and players backwards upon hit
    `static Enchantment` | Enchantment.`looting` Mobs have a chance to drop more loot
    `static Enchantment` | Enchantment.`power` Power enchantment for bows, add's extra damage to arrows.
    `static Enchantment` | Enchantment.`projectileProtection` Protection against projectile entities (e.g.
    `static Enchantment` | Enchantment.`protection` Converts environmental damage to armour damage
    `static Enchantment` | Enchantment.`punch` Knockback enchantments for bows, the arrows will knockback the target when hit.
    `static Enchantment` | Enchantment.`respiration` Decreases the rate of air loss underwater; increases time between damage while suffocating
    `static Enchantment` | Enchantment.`sharpness` Extra damage to mobs
    `static Enchantment` | Enchantment.`silkTouch` Blocks mined will drop themselves, even if it should drop something else (e.g.
    `static Enchantment` | Enchantment.`smite` Extra damage to zombies, zombie pigmen and skeletons
    `static Enchantment` | Enchantment.`thorns`
    `static Enchantment` | Enchantment.`unbreaking` Sometimes, the tool's durability will not be spent when the tool is used

    Methods in net.minecraft.enchantment that return Enchantment
    Modifier and Type | Method and Description
    --- | ---
    `Enchantment` | Enchantment.`setName(String par1Str)` Sets the enchantment name

    Methods in net.minecraft.enchantment with parameters of type Enchantment
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Enchantment.`addToBookList(Enchantment enchantment)` Add to the list of enchantments applicable by the anvil from a book
    `boolean` | EnchantmentLootBonus.`canApplyTogether(Enchantment par1Enchantment)` Determines if the enchantment passed can be applyied together with this enchantment.
    `boolean` | EnchantmentProtection.`canApplyTogether(Enchantment par1Enchantment)` Determines if the enchantment passed can be applyied together with this enchantment.
    `boolean` | EnchantmentDamage.`canApplyTogether(Enchantment par1Enchantment)` Determines if the enchantment passed can be applyied together with this enchantment.
    `boolean` | EnchantmentUntouching.`canApplyTogether(Enchantment par1Enchantment)` Determines if the enchantment passed can be applyied together with this enchantment.
    `boolean` | Enchantment.`canApplyTogether(Enchantment par1Enchantment)` Determines if the enchantment passed can be applyied together with this enchantment.
    `static ItemStack` | EnchantmentHelper.`func_92099_a(Enchantment par0Enchantment, EntityLiving par1EntityLiving)`

    Constructors in net.minecraft.enchantment with parameters of type Enchantment
    Constructor and Description
    `EnchantmentData(Enchantment par1Enchantment, int par2)`

  - ### Uses of Enchantment in net.minecraft.item

    Methods in net.minecraft.item with parameters of type Enchantment
    Modifier and Type | Method and Description
    --- | ---
    `void` | ItemStack.`addEnchantment(Enchantment par1Enchantment, int par2)` Adds an enchantment with a desired level on the ItemStack.
    `void` | ItemEnchantedBook.`func_92113_a(Enchantment par1Enchantment, List par2List)`