Examples of BuildingSlot


Examples of buildcraft.core.builders.BuildingSlot

  }

  @Override
  public BuildingSlot reserveNextBlock(World world) {
    if (buildList.size() != 0) {
      BuildingSlot slot = internalGetNextBlock(world, null);

      if (slot != null) {
        slot.reserved = true;
      }
View Full Code Here

Examples of buildcraft.core.builders.BuildingSlot

  }

  @Override
  public BuildingSlot getNextBlock(World world, TileAbstractBuilder inv) {
    if (buildList.size() != 0) {
      BuildingSlot slot = internalGetNextBlock(world, inv);
      checkDone();

      if (slot != null) {
        return slot;
      } else {
        return null;
      }
    }

    if (entityList.size() != 0) {
      BuildingSlot slot = internalGetNextEntity(world, inv);
      checkDone ();

      if (slot != null) {
        return slot;
      } else {
View Full Code Here

Examples of buildcraft.core.builders.BuildingSlot

    if (world.getTotalWorldTime() < nextBuildDate) {
      return false;
    }

    BuildingSlot slot = getNextBlock(world, builder);

    if (buildSlot(world, builder, slot, x + 0.5F, y + 0.5F, z + 0.5F)) {
      nextBuildDate = world.getTotalWorldTime() + slot.buildTime();
      return true;
    } else {
      return false;
    }
  }
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.