Ejemplo n.º 1
0
  public void s_() {
    if (this.ai()) {
      this.b = this.c;
      if (this.cl()) {
        this.a(1);
      }

      int i0 = this.ck();

      if (i0 > 0 && this.c == 0) {
        this.a("creeper.primed", 1.0F, 0.5F);
      }

      this.c += i0;
      if (this.c < 0) {
        this.c = 0;
      }

      if (this.c >= this.bk) {
        this.c = this.bk;
        this.cp();
      }
    }

    super.s_();
  }
Ejemplo n.º 2
0
  public void s_() {
    if (!this.o.D && this.cn()) {
      int i0 = this.cp();

      this.bm -= i0;
      if (this.bm <= 0) {
        this.co();
      }
    }

    super.s_();
  }