Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.enchantment
Class EnchantmentData

    java.lang.Object
      net.minecraft.util.WeightedRandomItem
          net.minecraft.enchantment.EnchantmentData

    public class EnchantmentData

extends WeightedRandomItem

Field Summary
`int` | `enchantmentLevel` Enchantment level associated with this EnchantmentData
`Enchantment` | `enchantmentobj` Enchantment object associated with this EnchantmentData

Fields inherited from class net.minecraft.util.WeightedRandomItem
`itemWeight`

Constructor Summary
`EnchantmentData(Enchantment par1Enchantment, int par2)`
`EnchantmentData(int par1, int par2)`

Method Summary

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### enchantmentobj

    public final Enchantment enchantmentobj

  Enchantment object associated with this EnchantmentData

### enchantmentLevel

    public final int enchantmentLevel

  Enchantment level associated with this EnchantmentData

Constructor Detail

### EnchantmentData

    public EnchantmentData(Enchantment par1Enchantment,
                           int par2)

### EnchantmentData

    public EnchantmentData(int par1,
                           int par2)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD