public void onUpdate() {
      this.lastActiveTime = this.timeSinceIgnited;
      if(this.worldObj.multiplayerWorld) {
         int var1 = this.getCreeperState();
         if(var1 > 0 && this.timeSinceIgnited == 0) {
            this.worldObj.playSoundAtEntity(this, "random.fuse", 1.0F, 0.5F);
         }

         this.timeSinceIgnited += var1;
         if(this.timeSinceIgnited < 0) {
            this.timeSinceIgnited = 0;
         }

         if(this.timeSinceIgnited >= 30) {
            this.timeSinceIgnited = 30;
         }
      }

      super.onUpdate();
      if(this.entityToAttack == null && this.timeSinceIgnited > 0) {
         this.setCreeperState(-1);
         --this.timeSinceIgnited;
         if(this.timeSinceIgnited < 0) {
            this.timeSinceIgnited = 0;
         }
      }

   }