// Path: src/main/java/tonius/simplyjetpacks/item/ItemPack.java
// public static class ItemJetpack extends ItemPack<Jetpack> {
//         
//     public ItemJetpack(ModType modType, String registryName) {
//         super(modType, registryName);
//     }
//         
// }


import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.monster.EntitySkeleton;
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.item.ItemStack;
import net.minecraftforge.event.entity.player.EntityInteractEvent;
import tonius.simplyjetpacks.item.ItemPack.ItemJetpack;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
package tonius.simplyjetpacks.handler;


public class EntityInteractHandler {
    
    @SubscribeEvent
    public void onEntityInteract(EntityInteractEvent evt) {
        if (evt.entityPlayer.isSneaking() && (evt.target instanceof EntityZombie || evt.target instanceof EntitySkeleton)) {
            EntityLiving target = (EntityLiving) evt.target;
            ItemStack heldStack = evt.entityPlayer.getHeldItem();
// Path: src/main/java/tonius/simplyjetpacks/item/ItemPack.java
// public static class ItemJetpack extends ItemPack<Jetpack> {
//         
//     public ItemJetpack(ModType modType, String registryName) {
//         super(modType, registryName);
//     }
//         
// }


// Path: src/main/java/tonius/simplyjetpacks/handler/EntityInteractHandler.java
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.monster.EntitySkeleton;
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.item.ItemStack;
import net.minecraftforge.event.entity.player.EntityInteractEvent;
import tonius.simplyjetpacks.item.ItemPack.ItemJetpack;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;

package tonius.simplyjetpacks.handler;


public class EntityInteractHandler {
    
    @SubscribeEvent
    public void onEntityInteract(EntityInteractEvent evt) {
        if (evt.entityPlayer.isSneaking() && (evt.target instanceof EntityZombie || evt.target instanceof EntitySkeleton)) {
            EntityLiving target = (EntityLiving) evt.target;
            ItemStack heldStack = evt.entityPlayer.getHeldItem();
            if (heldStack != null && heldStack.getItem() instanceof ItemJetpack) {