// Path: src/main/java/buildcraftAdditions/armour/ItemHoverBoots.java
// public class ItemHoverBoots extends ItemPoweredArmor implements IHUD {
// 
// 	public ItemHoverBoots() {
// 		super("hoverBoots", 3);
// 	}
// 
// 	private void tagTest(ItemStack stack) {
// 		if (stack.stackTagCompound == null)
// 			stack.stackTagCompound = new NBTTagCompound();
// 		if (!stack.stackTagCompound.hasKey("enabled"))
// 			stack.stackTagCompound.setBoolean("enabled", true);
// 	}
// 
// 	@Override
// 	public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
// 		tagTest(itemStack);
// 		if (itemStack.stackTagCompound.getBoolean("enabled")) {
// 			player.fallDistance = 0;
// 			if (player.motionY < -0 && !player.onGround) {
// 				ItemStack stack = player.getCurrentArmor(2);
// 				if (stack != null && stack.getItem() == ArmorLoader.kineticBackpack) {
// 					ItemKineticBackpack backpack = (ItemKineticBackpack) stack.getItem();
// 					if (backpack.extractEnergy(stack, 30, true) == 30) {
// 						if (player.isSneaking()) {
// 							player.motionY /= 1.1;
// 						} else {
// 							player.motionY = 0;
// 							backpack.extractEnergy(stack, 30, false);
// 						}
// 					}
// 				}
// 			}
// 		}
// 	}
// 
// 	@Override
// 	public String getInfo(ItemStack stack) {
// 		return EnumChatFormatting.GOLD + Utils.localize("hud.boots") + " " + (stack.stackTagCompound.getBoolean("enabled") ? EnumChatFormatting.GREEN + Utils.localize("hud.enabled") : EnumChatFormatting.DARK_RED + Utils.localize("hud.dissabled"));
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@Override
// 	public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
// 		return ModelHoverBoots.INSTANCE;
// 	}
// }
// 
// Path: src/main/java/buildcraftAdditions/armour/ItemRocketPants.java
// public class ItemRocketPants extends ItemPoweredArmor {
// 	private static final int
// 			MAX_LIFT = 6,
// 			FLY_POWER = 60,
// 			SPEED_POWER = 20;
// 
// 	public static IIcon icon;
// 
// 	public ItemRocketPants() {
// 		super("rocketPants", 2);
// 	}
// 
// 	@Override
// 	public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
// 		setDamage(itemStack, 0);
// 		if (FlightTracker.wantsToFly(player) || !player.onGround) {
// 			ItemStack stack = player.getCurrentArmor(2);
// 			if (stack != null && stack.getItem() == ArmorLoader.kineticBackpack) {
// 				ItemKineticBackpack backpack = (ItemKineticBackpack) stack.getItem();
// 				if (backpack.extractEnergy(stack, 40, true) == 40) {
// 					if (FlightTracker.wantsToMove(player)) {
// 						player.moveFlying(0, .2f, .2f);
// 					}
// 					player.motionX *= 1.025;
// 					player.motionZ *= 1.025;
// 					backpack.extractEnergy(stack, SPEED_POWER, false);
// 					if (player.motionY < MAX_LIFT && FlightTracker.wantsToFly(player)) {
// 						backpack.extractEnergy(stack, FLY_POWER, false);
// 						player.motionY += 0.1;
// 						player.fallDistance = 0;
// 					}
// 				}
// 			}
// 		}
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@Override
// 	public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
// 		return ModelRocketPants.INSTANCE;
// 	}
// 
// 	@Override
// 	public void registerIcons(IIconRegister register) {
// 		icon = RenderUtils.registerIcon(register, "rocketPants");
// 	}
// 
// 	@Override
// 	public IIcon getIcon(ItemStack stack, int pass) {
// 		return icon;
// 	}
// 
// 	@Override
// 	public IIcon getIconFromDamage(int damage) {
// 		return icon;
// 	}
// }


import buildcraftAdditions.armour.ItemHoverBoots;
import buildcraftAdditions.armour.ItemKineticBackpack;
import buildcraftAdditions.armour.ItemRocketPants;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Items;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
package buildcraftAdditions.reference;


/**
 * Copyright (c) 2014-2015, AEnterprise
 * http://buildcraftadditions.wordpress.com/
 * Buildcraft Additions is distributed under the terms of GNU GPL v3.0
 * Please check the contents of the license located in
 * http://buildcraftadditions.wordpress.com/wiki/licensing-stuff/
 */
public class ArmorLoader {
	public static ItemArmor kineticBackpack;
	public static ItemArmor rocketPants;
	public static ItemArmor hoverBoots;

	public static void loadArmor() {
		kineticBackpack = new ItemKineticBackpack();
		rocketPants = new ItemRocketPants();
// Path: src/main/java/buildcraftAdditions/armour/ItemHoverBoots.java
// public class ItemHoverBoots extends ItemPoweredArmor implements IHUD {
// 
// 	public ItemHoverBoots() {
// 		super("hoverBoots", 3);
// 	}
// 
// 	private void tagTest(ItemStack stack) {
// 		if (stack.stackTagCompound == null)
// 			stack.stackTagCompound = new NBTTagCompound();
// 		if (!stack.stackTagCompound.hasKey("enabled"))
// 			stack.stackTagCompound.setBoolean("enabled", true);
// 	}
// 
// 	@Override
// 	public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
// 		tagTest(itemStack);
// 		if (itemStack.stackTagCompound.getBoolean("enabled")) {
// 			player.fallDistance = 0;
// 			if (player.motionY < -0 && !player.onGround) {
// 				ItemStack stack = player.getCurrentArmor(2);
// 				if (stack != null && stack.getItem() == ArmorLoader.kineticBackpack) {
// 					ItemKineticBackpack backpack = (ItemKineticBackpack) stack.getItem();
// 					if (backpack.extractEnergy(stack, 30, true) == 30) {
// 						if (player.isSneaking()) {
// 							player.motionY /= 1.1;
// 						} else {
// 							player.motionY = 0;
// 							backpack.extractEnergy(stack, 30, false);
// 						}
// 					}
// 				}
// 			}
// 		}
// 	}
// 
// 	@Override
// 	public String getInfo(ItemStack stack) {
// 		return EnumChatFormatting.GOLD + Utils.localize("hud.boots") + " " + (stack.stackTagCompound.getBoolean("enabled") ? EnumChatFormatting.GREEN + Utils.localize("hud.enabled") : EnumChatFormatting.DARK_RED + Utils.localize("hud.dissabled"));
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@Override
// 	public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
// 		return ModelHoverBoots.INSTANCE;
// 	}
// }
// 
// Path: src/main/java/buildcraftAdditions/armour/ItemRocketPants.java
// public class ItemRocketPants extends ItemPoweredArmor {
// 	private static final int
// 			MAX_LIFT = 6,
// 			FLY_POWER = 60,
// 			SPEED_POWER = 20;
// 
// 	public static IIcon icon;
// 
// 	public ItemRocketPants() {
// 		super("rocketPants", 2);
// 	}
// 
// 	@Override
// 	public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
// 		setDamage(itemStack, 0);
// 		if (FlightTracker.wantsToFly(player) || !player.onGround) {
// 			ItemStack stack = player.getCurrentArmor(2);
// 			if (stack != null && stack.getItem() == ArmorLoader.kineticBackpack) {
// 				ItemKineticBackpack backpack = (ItemKineticBackpack) stack.getItem();
// 				if (backpack.extractEnergy(stack, 40, true) == 40) {
// 					if (FlightTracker.wantsToMove(player)) {
// 						player.moveFlying(0, .2f, .2f);
// 					}
// 					player.motionX *= 1.025;
// 					player.motionZ *= 1.025;
// 					backpack.extractEnergy(stack, SPEED_POWER, false);
// 					if (player.motionY < MAX_LIFT && FlightTracker.wantsToFly(player)) {
// 						backpack.extractEnergy(stack, FLY_POWER, false);
// 						player.motionY += 0.1;
// 						player.fallDistance = 0;
// 					}
// 				}
// 			}
// 		}
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@Override
// 	public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
// 		return ModelRocketPants.INSTANCE;
// 	}
// 
// 	@Override
// 	public void registerIcons(IIconRegister register) {
// 		icon = RenderUtils.registerIcon(register, "rocketPants");
// 	}
// 
// 	@Override
// 	public IIcon getIcon(ItemStack stack, int pass) {
// 		return icon;
// 	}
// 
// 	@Override
// 	public IIcon getIconFromDamage(int damage) {
// 		return icon;
// 	}
// }


// Path: src/main/java/buildcraftAdditions/reference/ArmorLoader.java
import buildcraftAdditions.armour.ItemHoverBoots;
import buildcraftAdditions.armour.ItemKineticBackpack;
import buildcraftAdditions.armour.ItemRocketPants;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.init.Items;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;

package buildcraftAdditions.reference;


/**
 * Copyright (c) 2014-2015, AEnterprise
 * http://buildcraftadditions.wordpress.com/
 * Buildcraft Additions is distributed under the terms of GNU GPL v3.0
 * Please check the contents of the license located in
 * http://buildcraftadditions.wordpress.com/wiki/licensing-stuff/
 */
public class ArmorLoader {
	public static ItemArmor kineticBackpack;
	public static ItemArmor rocketPants;
	public static ItemArmor hoverBoots;

	public static void loadArmor() {
		kineticBackpack = new ItemKineticBackpack();
		rocketPants = new ItemRocketPants();
		hoverBoots = new ItemHoverBoots();