Examples of validateStructure()


Examples of forestry.api.core.ITileStructure.validateStructure()

    if (tile instanceof ITileStructure) {
      ITileStructure structure = (ITileStructure) tile;
      if (structure.isIntegratedIntoStructure() && !structure.isMaster()) {
        ITileStructure central = structure.getCentralTE();
        if (central != null)
          central.validateStructure();
      }
    }
  }

  @Override
View Full Code Here

Examples of forestry.api.core.ITileStructure.validateStructure()

  @Override
  public void validateStructure() {

    ITileStructure master = structure.getCentralTE();
    if (!structure.isMaster() && master != null) {
      master.validateStructure();
      return;
    }

    EnumStructureState state = EnumStructureState.INDETERMINATE;
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.