/** Whether the arrow has a stream of critical hit particles flying behind it. */
  public void setIsCritical(boolean par1) {
    byte b0 = this.dataWatcher.getWatchableObjectByte(16);

    if (par1) {
      this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 | 1)));
    } else {
      this.dataWatcher.updateObject(16, Byte.valueOf((byte) (b0 & -2)));
    }
  }
Example #2
0
 protected void h() {
   super.h();
   this.ac.a(16, Byte.valueOf((byte) 0));
 }
 protected void entityInit() {
   this.dataWatcher.addObject(16, Byte.valueOf((byte) 0));
 }
Example #4
0
 public void a(boolean flag0) {
   this.ac.b(16, Byte.valueOf((byte) (flag0 ? 1 : 0)));
 }