protected BlockPattern getSnowmanBasePattern() { if (this.snowmanBasePattern == null) { this.snowmanBasePattern = FactoryBlockPattern.start() .aisle(new String[] {" ", "#", "#"}) .where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.snow))) .build(); } return this.snowmanBasePattern; }
protected BlockPattern getGolemBasePattern() { if (this.golemBasePattern == null) { this.golemBasePattern = FactoryBlockPattern.start() .aisle(new String[] {"~ ~", "###", "~#~"}) .where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.iron_block))) .where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))) .build(); } return this.golemBasePattern; }