// Path: src/main/java/brightspark/sparkshammers/item/upgrade/EnumUpgrades.java
// public enum EnumUpgrades
// {
//     SIZE(2),
//     SPEED(3),
//     ATTACK(3),
//     HARVEST,
//     CAPACITY(4);
// 
//     private short maxUpgrades = 1;
// 
//     EnumUpgrades() {}
// 
//     EnumUpgrades(int maxUpgrades)
//     {
//         this.maxUpgrades = (short) maxUpgrades;
//     }
// 
//     public short getMaxUpgrades()
//     {
//         return maxUpgrades;
//     }
// 
//     @Override
//     public String toString()
//     {
//         return name().toLowerCase();
//     }
// 
//     @SideOnly(Side.CLIENT)
//     public String toLocal()
//     {
//         return I18n.format("upgrade." + toString() + ".name");
//     }
// }


import brightspark.sparkshammers.item.upgrade.EnumUpgrades;
package brightspark.sparkshammers.item;


public class ItemUpgrade extends ItemResource
{
    private EnumUpgrades upgrade;

// Path: src/main/java/brightspark/sparkshammers/item/upgrade/EnumUpgrades.java
// public enum EnumUpgrades
// {
//     SIZE(2),
//     SPEED(3),
//     ATTACK(3),
//     HARVEST,
//     CAPACITY(4);
// 
//     private short maxUpgrades = 1;
// 
//     EnumUpgrades() {}
// 
//     EnumUpgrades(int maxUpgrades)
//     {
//         this.maxUpgrades = (short) maxUpgrades;
//     }
// 
//     public short getMaxUpgrades()
//     {
//         return maxUpgrades;
//     }
// 
//     @Override
//     public String toString()
//     {
//         return name().toLowerCase();
//     }
// 
//     @SideOnly(Side.CLIENT)
//     public String toLocal()
//     {
//         return I18n.format("upgrade." + toString() + ".name");
//     }
// }


// Path: src/main/java/brightspark/sparkshammers/item/ItemUpgrade.java
import brightspark.sparkshammers.item.upgrade.EnumUpgrades;

package brightspark.sparkshammers.item;


public class ItemUpgrade extends ItemResource
{
    private EnumUpgrades upgrade;

    public ItemUpgrade(EnumUpgrades upgrade)