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

项目: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 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;
}
项目: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 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;
}
项目: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 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;
}