gt:             int i = Item.getIdFromItem(Items.record_13);
context: package com.jtrent238.foodmod;
  
  import cpw.mods.fml.relauncher.Side;
  import cpw.mods.fml.relauncher.SideOnly;
  import net.minecraft.entity.Entity;
  import net.minecraft.entity.SharedMonsterAttributes;
  import net.minecraft.entity.ai.EntityAIAttackOnCollide;
  import net.minecraft.entity.ai.EntityAIAvoidEntity;
  import net.minecraft.entity.ai.EntityAICreeperSwell;
  import net.minecraft.entity.ai.EntityAIHurtByTarget;
  import net.minecraft.entity.ai.EntityAILookIdle;
  import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
  import net.minecraft.entity.ai.EntityAISwimming;
  import net.minecraft.entity.ai.EntityAIWander;
  import net.minecraft.entity.ai.EntityAIWatchClosest;
  import net.minecraft.entity.effect.EntityLightningBolt;
  import net.minecraft.entity.monster.EntityCreeper;
  import net.minecraft.entity.monster.EntityMob;
  import net.minecraft.entity.monster.EntityPigZombie;
  import net.minecraft.entity.monster.EntitySkeleton;
  import net.minecraft.entity.passive.EntityOcelot;
  import net.minecraft.entity.player.EntityPlayer;
  import net.minecraft.init.Items;
  import net.minecraft.item.Item;
  import net.minecraft.item.ItemStack;
  import net.minecraft.nbt.NBTTagCompound;
  import net.minecraft.util.DamageSource;
  import net.minecraft.world.World;
  
  public class EntityCandyCreeper extends EntityMob
  {
  	 	static int colorBase = (852 << 12) + (453 << 4) + 5; //RGB Value "rgb(X, X, X)"
  	    static int colorSpots  = (8 << 45) + (54 << 45) + 53; //RGB Value "rgb(X, X, X)"
  	    
      /**
       * Time when this creeper was last in an active state (Messed up code here, probably causes creeper animation to go
       * weird)
       */
      private int lastActiveTime;
      /** The amount of time since the creeper was close enough to the player to ignite */
      private int timeSinceIgnited;
      private int fuseTime = 30;
      /** Explosion radius for this creeper. */
      private int explosionRadius = 6;
      private static final String __OBFID = "CL_00001684";
  
      public EntityCandyCreeper(World p_i1733_1_)
      {
          super(p_i1733_1_);
          this.tasks.addTask(1, new EntityAISwimming(this));
          //this.tasks.addTask(2, new EntityAICandyCreeperSwell(this));
          this.tasks.addTask(3, new EntityAIAvoidEntity(this, EntityOcelot.class, 6.0F, 1.0D, 1.2D));
          this.tasks.addTask(4, new EntityAIAttackOnCollide(this, 1.0D, false));
          this.tasks.addTask(5, new EntityAIWander(this, 0.8D));
          this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
          this.tasks.addTask(6, new EntityAILookIdle(this));
          this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
          this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
      }
  
      protected void applyEntityAttributes()
      {
          super.applyEntityAttributes();
          this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
      }
  
      /**
       * Returns true if the newer Entity AI code should be run
       */
      public boolean isAIEnabled()
      {
          return true;
      }
  
      /**
       * The number of iterations PathFinder.getSafePoint will execute before giving up.
       */
      public int getMaxSafePointTries()
      {
          return this.getAttackTarget() == null ? 3 : 3 + (int)(this.getHealth() - 1.0F);
      }
  
      /**
       * Called when the mob is falling. Calculates and applies fall damage.
       */
      protected void fall(float p_70069_1_)
      {
          super.fall(p_70069_1_);
          this.timeSinceIgnited = (int)((float)this.timeSinceIgnited + p_70069_1_ * 1.5F);
  
          if (this.timeSinceIgnited > this.fuseTime - 5)
          {
              this.timeSinceIgnited = this.fuseTime - 5;
          }
      }
  
      protected void entityInit()
      {
          super.entityInit();
          this.dataWatcher.addObject(16, Byte.valueOf((byte) - 1));
          this.dataWatcher.addObject(17, Byte.valueOf((byte)0));
          this.dataWatcher.addObject(18, Byte.valueOf((byte)0));
      }
  
      /**
       * (abstract) Protected helper method to write subclass entity data to NBT.
       */
      public void writeEntityToNBT(NBTTagCompound p_70014_1_)
      {
          super.writeEntityToNBT(p_70014_1_);
  
          if (this.dataWatcher.getWatchableObjectByte(17) == 1)
          {
              p_70014_1_.setBoolean("powered", true);
          }
  
          p_70014_1_.setShort("Fuse", (short)this.fuseTime);
          p_70014_1_.setByte("ExplosionRadius", (byte)this.explosionRadius);
          p_70014_1_.setBoolean("ignited", this.func_146078_ca());
      }
  
      /**
       * (abstract) Protected helper method to read subclass entity data from NBT.
       */
      public void readEntityFromNBT(NBTTagCompound p_70037_1_)
      {
          super.readEntityFromNBT(p_70037_1_);
          this.dataWatcher.updateObject(17, Byte.valueOf((byte)(p_70037_1_.getBoolean("powered") ? 1 : 0)));
  
          if (p_70037_1_.hasKey("Fuse", 99))
          {
              this.fuseTime = p_70037_1_.getShort("Fuse");
          }
  
          if (p_70037_1_.hasKey("ExplosionRadius", 99))
          {
              this.explosionRadius = p_70037_1_.getByte("ExplosionRadius");
          }
  
          if (p_70037_1_.getBoolean("ignited"))
          {
              this.func_146079_cb();
          }
      }
  
      /**
       * Called to update the entity's position/logic.
       */
      public void onUpdate()
      {
          if (this.isEntityAlive())
          {
              this.lastActiveTime = this.timeSinceIgnited;
  
              if (this.func_146078_ca())
              {
                  this.setCreeperState(1);
              }
  
              int i = this.getCreeperState();
  
              if (i > 0 && this.timeSinceIgnited == 0)
              {
                  this.playSound("creeper.primed", 1.0F, 0.5F);
              }
  
              this.timeSinceIgnited += i;
  
              if (this.timeSinceIgnited < 0)
              {
                  this.timeSinceIgnited = 0;
              }
  
              if (this.timeSinceIgnited >= this.fuseTime)
              {
                  this.timeSinceIgnited = this.fuseTime;
                  this.func_146077_cc();
              }
          }
  
          super.onUpdate();
      }
  
      /**
       * Returns the sound this mob makes when it is hurt.
       */
      protected String getHurtSound()
      {
          return "mob.creeper.say";
      }
  
      /**
       * Returns the sound this mob makes on death.
       */
      protected String getDeathSound()
      {
          return "mob.creeper.death";
      }
  
      /**
       * Called when the mob's health reaches 0.
       */
      public void onDeath(DamageSource p_70645_1_)
      {
          super.onDeath(p_70645_1_);
  
          if (p_70645_1_.getEntity() instanceof EntitySkeleton)
          {
  