// Path: src/main/java/gr8pefish/openglider/common/lib/ModInfo.java
// public class ModInfo {
// 
//     public static final String DOMAIN = MODID.toLowerCase(Locale.ENGLISH) + ":"; //for resources
//     public static final String VERSION = "@VERSION@";
//     public static final String FORGE_UPDATE_JSON_URL = "https://raw.githubusercontent.com/gr8pefish/OpenGlider/1.10/versions/update.json";
//     public static final String GUI_FACTORY = "gr8pefish.openglider.client.gui.GuiFactory"; //for in-game config
// 
//     public static final String COMMON_PROXY = "gr8pefish.openglider.common.proxy.CommonProxy";
//     public static final String CLIENT_PROXY = "gr8pefish.openglider.client.proxy.ClientProxy";
// 
//     public static final String NETWORK_CHANNEL = "opngldr";
// 
//     public static final String ITEM_GLIDER_BASIC_NAME = "hang_glider_basic";
//     public static final String ITEM_GLIDER_ADVANCED_NAME = "hang_glider_advanced";
//     public static final String ITEM_GLIDER_PART_NAME = "hang_glider_part";
// 
//     public static final class NBT_KEYS {
// 
//         public static final String UPGRADES = "upgrades";
// 
//     }
// 
// }


import gr8pefish.openglider.common.lib.ModInfo;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import java.util.ArrayList;
package gr8pefish.openglider.common.util;



public class OpenGliderHelper {

    public static ArrayList<ItemStack> getUpgradesFromNBT(ItemStack glider) {
        ArrayList<ItemStack> upgradesArrayList = new ArrayList<>();
        if (glider != null && !glider.isEmpty()) {
            NBTTagCompound nbtTagCompound = glider.getTagCompound();
            if (nbtTagCompound != null) {
// Path: src/main/java/gr8pefish/openglider/common/lib/ModInfo.java
// public class ModInfo {
// 
//     public static final String DOMAIN = MODID.toLowerCase(Locale.ENGLISH) + ":"; //for resources
//     public static final String VERSION = "@VERSION@";
//     public static final String FORGE_UPDATE_JSON_URL = "https://raw.githubusercontent.com/gr8pefish/OpenGlider/1.10/versions/update.json";
//     public static final String GUI_FACTORY = "gr8pefish.openglider.client.gui.GuiFactory"; //for in-game config
// 
//     public static final String COMMON_PROXY = "gr8pefish.openglider.common.proxy.CommonProxy";
//     public static final String CLIENT_PROXY = "gr8pefish.openglider.client.proxy.ClientProxy";
// 
//     public static final String NETWORK_CHANNEL = "opngldr";
// 
//     public static final String ITEM_GLIDER_BASIC_NAME = "hang_glider_basic";
//     public static final String ITEM_GLIDER_ADVANCED_NAME = "hang_glider_advanced";
//     public static final String ITEM_GLIDER_PART_NAME = "hang_glider_part";
// 
//     public static final class NBT_KEYS {
// 
//         public static final String UPGRADES = "upgrades";
// 
//     }
// 
// }


// Path: src/main/java/gr8pefish/openglider/common/util/OpenGliderHelper.java
import gr8pefish.openglider.common.lib.ModInfo;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import java.util.ArrayList;

package gr8pefish.openglider.common.util;



public class OpenGliderHelper {

    public static ArrayList<ItemStack> getUpgradesFromNBT(ItemStack glider) {
        ArrayList<ItemStack> upgradesArrayList = new ArrayList<>();
        if (glider != null && !glider.isEmpty()) {
            NBTTagCompound nbtTagCompound = glider.getTagCompound();
            if (nbtTagCompound != null) {
                if(nbtTagCompound.hasKey(ModInfo.NBT_KEYS.UPGRADES)) {