Class EnchantInfo

java.lang.Object
redempt.redlib.enchants.EnchantInfo

public class EnchantInfo extends Object
Represents a CustomEnchant and level
  • Constructor Details

    • EnchantInfo

      public EnchantInfo(CustomEnchant ench, int level)
      Constructs an EnchantInfo from a CustomEnchant and level
      Parameters:
      ench - The CustomEnchant
      level - The level
  • Method Details

    • getLevel

      public int getLevel()
      Returns:
      The level stored in this EnchantInfo
    • getEnchant

      public CustomEnchant getEnchant()
      Returns:
      The CustomEnchant stored in this EnchantInfo