public class EnchantmentData extends WeightedRandom.Item
Modifier and Type | Field and Description |
---|---|
Enchantment |
enchantment
Enchantment object associated with this EnchantmentData
|
int |
enchantmentLevel
Enchantment level associated with this EnchantmentData
|
itemWeight
Constructor and Description |
---|
EnchantmentData(Enchantment enchantmentObj,
int enchLevel) |
public final Enchantment enchantment
public final int enchantmentLevel
public EnchantmentData(Enchantment enchantmentObj, int enchLevel)