Package forestry.core.worldgen

Examples of forestry.core.worldgen.BlockType


    if (block instanceof BlockLog) {
      IAlleleBoolean fireproof = (IAlleleBoolean) tree.getGenome().getActiveAllele(EnumTreeChromosome.FIREPROOF.ordinal());
      if (fireproof.getValue()) {
        BlockLog blockLog = (BlockLog) block;
        ForestryBlock fireproofLogBlock = BlockFireproofLog.getFireproofLog(blockLog);
        return new BlockType(fireproofLogBlock.block(), meta);
      }
    }

    return new BlockType(block, meta);
  }
View Full Code Here


    super(tree);
  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 2);
  }
View Full Code Here

    super(tree);
  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 0);
  }
View Full Code Here

  public WorldGenAcaciaVanilla(ITreeGenData tree) {
    super(tree);
  }
  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log2, 0);
  }
View Full Code Here

  }

  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log, 3);
  }
View Full Code Here

  public WorldGenDarkOak(ITreeGenData tree) {
    super(tree);
  }
  @Override
  public BlockType getWood() {
    return new BlockType(Blocks.log2, 1);
  }
View Full Code Here

TOP

Related Classes of forestry.core.worldgen.BlockType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.