Package buildcraft.core.builders

Examples of buildcraft.core.builders.BuildingSlotEntity


    int seqId = 0;

    for (SchematicEntity e : ((Blueprint) blueprint).entities) {

      BuildingSlotEntity b = new BuildingSlotEntity();
      b.schematic = e;
      b.sequenceNumber = seqId;

      if (!builtEntities.contains(seqId)) {
        entityList.add(b);
View Full Code Here


  private BuildingSlot internalGetNextEntity(World world, TileAbstractBuilder builder) {
    Iterator<BuildingSlotEntity> it = entityList.iterator();

    while (it.hasNext()) {
      BuildingSlotEntity slot = it.next();

      if (slot.isAlreadyBuilt(context)) {
        it.remove();
      } else {
        if (checkRequirements(builder, slot.schematic)) {
          builder.consumeEnergy(slot.getEnergyRequirement());
          useRequirements(builder, slot);

          it.remove();
          postProcessing.add(slot);
          builtEntities.add(slot.sequenceNumber);
View Full Code Here

TOP

Related Classes of buildcraft.core.builders.BuildingSlotEntity

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.