Package forestry.core.config

Examples of forestry.core.config.ForestryBlock.block()


    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

TOP
Copyright © 2018 www.massapi.com. 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.