Examples of BlueprintId


Examples of buildcraft.builders.blueprints.BlueprintId

    deployBlueprint(world, x, y, z, dir, (Blueprint) BlueprintDatabase.load(data));
  }

  private void deployBlueprint(World world, int x, int y, int z, ForgeDirection dir, Blueprint bpt) {
    bpt.id = new BlueprintId();
    bpt.id.kind = Kind.Blueprint;

    BptContext context = bpt.getContext(world, bpt.getBoxForPos(x, y, z));

    if (bpt.rotate) {
View Full Code Here

Examples of buildcraft.builders.blueprints.BlueprintId

  public static BlueprintId getId (ItemStack stack) {
    NBTTagCompound nbt = NBTUtils.getItemData(stack);
    if (nbt == null) {
      return null;
    }
    BlueprintId id = new BlueprintId ();
    id.read (nbt);

    if (BuildCraftBuilders.serverDB.exists(id)) {
      return id;
    } else {
      return null;
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.