Example #1
0
  protected ShapeDetector j() {
    if (this.N == null) {
      this.N =
          ShapeDetectorBuilder.a()
              .a(new String[] {"   ", "###", "~#~"})
              .a('#', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.SOUL_SAND)))
              .a('~', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.AIR)))
              .b();
    }

    return this.N;
  }
Example #2
0
  protected ShapeDetector getDetectorIronGolemPart() {
    if (this.ironGolemPart == null) {
      this.ironGolemPart =
          ShapeDetectorBuilder.a()
              .a(new String[] {"~ ~", "###", "~#~"})
              .a('#', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.IRON_BLOCK)))
              .a('~', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.AIR)))
              .b();
    }

    return this.ironGolemPart;
  }
Example #3
0
  protected ShapeDetector l() {
    if (this.O == null) {
      this.O =
          ShapeDetectorBuilder.a()
              .a(new String[] {"^^^", "###", "~#~"})
              .a('#', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.SOUL_SAND)))
              .a('^', BlockSkull.M)
              .a('~', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.AIR)))
              .b();
    }

    return this.O;
  }
Example #4
0
  protected ShapeDetector getDetectorSnowGolemPart() {
    if (this.snowGolemPart == null) {
      this.snowGolemPart =
          ShapeDetectorBuilder.a()
              .a(new String[] {" ", "#", "#"})
              .a('#', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.SNOW)))
              .b();
    }

    return this.snowGolemPart;
  }
Example #5
0
  protected ShapeDetector getDetectorSnowGolem() {
    if (this.snowGolem == null) {
      this.snowGolem =
          ShapeDetectorBuilder.a()
              .a(new String[] {"^", "#", "#"})
              .a('^', ShapeDetectorBlock.a(BlockPumpkin.Q))
              .a('#', ShapeDetectorBlock.a(BlockStatePredicate.a(Blocks.SNOW)))
              .b();
    }

    return this.snowGolem;
  }