package ictrobot.gems.magnetic.armor;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.common.EnumHelper;

public class CreativeJetpack extends ItemArmor {

  static EnumArmorMaterial armor = EnumHelper.addArmorMaterial("Jetpack", 0, new int[] { 0, 0, 0, 0 }, 0);
  
  
  public CreativeJetpack(int par1, int par2) {
    super(par1, armor, par2, 1);
    setUnlocalizedName("creativeJetpack");
  }

  @SideOnly(Side.CLIENT)
  public void registerIcons(IconRegister par1RegisterIcon) {
    this.itemIcon = par1RegisterIcon.registerIcon("Gems:Jetpack");
  }

  public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) {
    return "Gems:textures/models/armor/Jetpack_1.png";
  }
  
  @Override
  public void onArmorTickUpdate (World world, EntityPlayer player, ItemStack itemStack)  {
	
  }
}
package ictrobot.gems.magnetic.armor;

import ictrobot.gems.Gems;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import net.minecraftforge.common.EnumHelper;

public class CreativeJetpack extends ItemArmor {

  static EnumArmorMaterial armor = EnumHelper.addArmorMaterial("Jetpack", 0, new int[] { 0, 0, 0, 0 }, 0);
  
  
  public CreativeJetpack(int par1, int par2) {
    super(par1, armor, par2, 1);
    setUnlocalizedName("creativeJetpack");
  }

  @SideOnly(Side.CLIENT)
  public void registerIcons(IconRegister par1RegisterIcon) {
    this.itemIcon = par1RegisterIcon.registerIcon("Gems:Jetpack");
  }

  public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) {
    return "Gems:textures/models/armor/Jetpack_1.png";
  }
  
  @Override
  public void onArmorTickUpdate (World world, EntityPlayer player, ItemStack itemStack)  {
    Gems.proxy.resetPlayerInAirTime(player);
  }
}
Fix Creative Jetpack Air Time