Example #1
0
 protected void a(int i0) {
   this.bm = i0;
   this.H().b(14, Byte.valueOf((byte) 1));
   this.m(Potion.t.H);
   this.c(new PotionEffect(Potion.g.H, i0, Math.min(this.o.aa().a() - 1, 0)));
   this.o.a((Entity) this, (byte) 16);
 }
Example #2
0
  public void l(boolean flag0) {
    this.H().b(12, Byte.valueOf((byte) (flag0 ? 1 : 0)));
    if (this.o != null && !this.o.D) {
      IAttributeInstance iattributeinstance = this.a(SharedMonsterAttributes.d);

      iattributeinstance.c(bk);
      if (flag0) {
        iattributeinstance.b(bk);
      }
    }

    this.n(flag0);
  }
Example #3
0
 protected void h() {
   super.h();
   this.H().a(12, Byte.valueOf((byte) 0));
   this.H().a(13, Byte.valueOf((byte) 0));
   this.H().a(14, Byte.valueOf((byte) 0));
 }
Example #4
0
 public void stopConversion() {
   this.H().b(12, Byte.valueOf((byte) 0));
   this.bm = -1;
 }
Example #5
0
 public void m(boolean flag0) {
   this.H().b(13, Byte.valueOf((byte) (flag0 ? 1 : 0)));
 }