예제 #1
0
  private void a(TileEntityChest tileentitychest, int i) {
    if (tileentitychest.r()) {
      this.a = false;
    } else if (this.a) {
      switch (i) {
        case 0:
          if (this.l != tileentitychest) {
            this.a = false;
          }
          break;

        case 1:
          if (this.k != tileentitychest) {
            this.a = false;
          }
          break;

        case 2:
          if (this.i != tileentitychest) {
            this.a = false;
          }
          break;

        case 3:
          if (this.j != tileentitychest) {
            this.a = false;
          }
      }
    }
  }
예제 #2
0
  private void a(TileEntityChest tileentitychest, int i0) {
    if (tileentitychest.r()) {
      this.a = false;
    } else if (this.a) {
      switch (i0) {
        case 0:
          if (this.e != tileentitychest) {
            this.a = false;
          }
          break;

        case 1:
          if (this.d != tileentitychest) {
            this.a = false;
          }
          break;

        case 2:
          if (this.b != tileentitychest) {
            this.a = false;
          }
          break;

        case 3:
          if (this.c != tileentitychest) {
            this.a = false;
          }
      }
    }
  }