Java 类net.minecraft.block.state.pattern.FactoryBlockPattern 实例源码

项目:Minestrappolation-4    文件:BlockCarvedPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] { "^", "#", "#" }).where('^',
                                                                                                      BlockWorldState
                                                                                                          .hasState(
                                                                                                              BlockStateHelper
                                                                                                                  .forBlock(
                                                                                                                      this)))
                                                 .where('#', BlockWorldState
                                                                 .hasState(BlockStateHelper.forBlock(Blocks.snow)))
                                                 .build();
    }

    return this.snowmanPattern;
}
项目:Minestrappolation-4    文件:BlockCarvedPumpkin.java   
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;
}
项目:Minestrappolation-4    文件:BlockCarvedPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] { "~^~", "###", "~#~" }).where('^',
                                                                                                          BlockWorldState
                                                                                                              .hasState(
                                                                                                                  BlockStateHelper
                                                                                                                      .forBlock(
                                                                                                                          this)))
                                               .where('#', BlockWorldState.hasState(
                                                   BlockStateHelper.forBlock(Blocks.iron_block))).where('~',
                                                                                                        BlockWorldState
                                                                                                            .hasState(
                                                                                                                BlockStateHelper
                                                                                                                    .forBlock(
                                                                                                                        Blocks.air)))
                                               .build();
    }

    return this.golemPattern;
}
项目:DecompiledMinecraft    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherBasePattern;
}
项目:DecompiledMinecraft    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherPattern;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
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;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.snow))).build();
    }

    return this.snowmanPattern;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
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;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.iron_block))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.golemPattern;
}
项目:DecompiledMinecraft    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherBasePattern;
}
项目:DecompiledMinecraft    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherPattern;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
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;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.snow))).build();
    }

    return this.snowmanPattern;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
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;
}
项目:DecompiledMinecraft    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.iron_block))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.golemPattern;
}
项目:BaseClient    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherBasePattern;
}
项目:BaseClient    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherPattern;
}
项目:BaseClient    文件:BlockPumpkin.java   
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;
}
项目:BaseClient    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.snow))).build();
    }

    return this.snowmanPattern;
}
项目:BaseClient    文件:BlockPumpkin.java   
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;
}
项目:BaseClient    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.iron_block))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.golemPattern;
}
项目:BaseClient    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherBasePattern;
}
项目:BaseClient    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.soul_sand))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.witherPattern;
}
项目:BaseClient    文件:BlockPumpkin.java   
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;
}
项目:BaseClient    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.snow))).build();
    }

    return this.snowmanPattern;
}
项目:BaseClient    文件:BlockPumpkin.java   
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;
}
项目:BaseClient    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(field_181085_Q)).where('#', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.iron_block))).where('~', BlockWorldState.hasState(BlockStateHelper.forBlock(Blocks.air))).build();
    }

    return this.golemPattern;
}
项目:Backmemed    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SOUL_SAND))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.witherBasePattern;
}
项目:Backmemed    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SOUL_SAND))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.witherPattern;
}
项目:Backmemed    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanBasePattern()
{
    if (this.snowmanBasePattern == null)
    {
        this.snowmanBasePattern = FactoryBlockPattern.start().aisle(new String[] {" ", "#", "#"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SNOW))).build();
    }

    return this.snowmanBasePattern;
}
项目:Backmemed    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(IS_PUMPKIN)).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SNOW))).build();
    }

    return this.snowmanPattern;
}
项目:Backmemed    文件:BlockPumpkin.java   
protected BlockPattern getGolemBasePattern()
{
    if (this.golemBasePattern == null)
    {
        this.golemBasePattern = FactoryBlockPattern.start().aisle(new String[] {"~ ~", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.IRON_BLOCK))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.golemBasePattern;
}
项目:Backmemed    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(IS_PUMPKIN)).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.IRON_BLOCK))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.golemPattern;
}
项目:Backmemed    文件:BlockEndPortalFrame.java   
public static BlockPattern getOrCreatePortalShape()
{
    if (portalShape == null)
    {
        portalShape = FactoryBlockPattern.start().aisle(new String[] {"?vvv?", ">???<", ">???<", ">???<", "?^^^?"}).where('?', BlockWorldState.hasState(BlockStateMatcher.ANY)).where('^', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.END_PORTAL_FRAME).where(EYE, Predicates.equalTo(Boolean.valueOf(true))).where(FACING, Predicates.equalTo(EnumFacing.SOUTH)))).where('>', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.END_PORTAL_FRAME).where(EYE, Predicates.equalTo(Boolean.valueOf(true))).where(FACING, Predicates.equalTo(EnumFacing.WEST)))).where('v', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.END_PORTAL_FRAME).where(EYE, Predicates.equalTo(Boolean.valueOf(true))).where(FACING, Predicates.equalTo(EnumFacing.NORTH)))).where('<', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.END_PORTAL_FRAME).where(EYE, Predicates.equalTo(Boolean.valueOf(true))).where(FACING, Predicates.equalTo(EnumFacing.EAST)))).build();
    }

    return portalShape;
}
项目:CustomWorldGen    文件:BlockSkull.java   
protected BlockPattern getWitherBasePattern()
{
    if (this.witherBasePattern == null)
    {
        this.witherBasePattern = FactoryBlockPattern.start().aisle(new String[] {"   ", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SOUL_SAND))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.witherBasePattern;
}
项目:CustomWorldGen    文件:BlockSkull.java   
protected BlockPattern getWitherPattern()
{
    if (this.witherPattern == null)
    {
        this.witherPattern = FactoryBlockPattern.start().aisle(new String[] {"^^^", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SOUL_SAND))).where('^', IS_WITHER_SKELETON).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.witherPattern;
}
项目:CustomWorldGen    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanBasePattern()
{
    if (this.snowmanBasePattern == null)
    {
        this.snowmanBasePattern = FactoryBlockPattern.start().aisle(new String[] {" ", "#", "#"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SNOW))).build();
    }

    return this.snowmanBasePattern;
}
项目:CustomWorldGen    文件:BlockPumpkin.java   
protected BlockPattern getSnowmanPattern()
{
    if (this.snowmanPattern == null)
    {
        this.snowmanPattern = FactoryBlockPattern.start().aisle(new String[] {"^", "#", "#"}).where('^', BlockWorldState.hasState(IS_PUMPKIN)).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.SNOW))).build();
    }

    return this.snowmanPattern;
}
项目:CustomWorldGen    文件:BlockPumpkin.java   
protected BlockPattern getGolemBasePattern()
{
    if (this.golemBasePattern == null)
    {
        this.golemBasePattern = FactoryBlockPattern.start().aisle(new String[] {"~ ~", "###", "~#~"}).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.IRON_BLOCK))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.golemBasePattern;
}
项目:CustomWorldGen    文件:BlockPumpkin.java   
protected BlockPattern getGolemPattern()
{
    if (this.golemPattern == null)
    {
        this.golemPattern = FactoryBlockPattern.start().aisle(new String[] {"~^~", "###", "~#~"}).where('^', BlockWorldState.hasState(IS_PUMPKIN)).where('#', BlockWorldState.hasState(BlockStateMatcher.forBlock(Blocks.IRON_BLOCK))).where('~', BlockWorldState.hasState(BlockMaterialMatcher.forMaterial(Material.AIR))).build();
    }

    return this.golemPattern;
}