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

项目: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;
}
项目:CustomWorldGen    文件: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;
}
项目:ExpandedRailsMod    文件: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.func_189886_a(Material.AIR))).build();
    }

    return this.witherBasePattern;
}
项目:ExpandedRailsMod    文件: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.func_189886_a(Material.AIR))).build();
    }

    return this.witherPattern;
}
项目:ExpandedRailsMod    文件: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;
}
项目:ExpandedRailsMod    文件: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;
}
项目:ExpandedRailsMod    文件: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.func_189886_a(Material.AIR))).build();
    }

    return this.golemBasePattern;
}
项目:ExpandedRailsMod    文件: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.func_189886_a(Material.AIR))).build();
    }

    return this.golemPattern;
}
项目:ExpandedRailsMod    文件: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;
}