Examples of TileInventoryAdapter


Examples of forestry.core.utils.TileInventoryAdapter

    this.tile = tile;

    IInventory inventory = tile.getInventory();
    // Tile will not have an inventory client side.
    if (inventory == null)
      inventory = new TileInventoryAdapter(tile, TileFarmPlain.SLOT_COUNT, "Items");

    // Resources
    for (int i = 0; i < 3; i++) {
      for (int j = 0; j < 2; j++) {
        addSlot(new SlotResources(inventory, tile.getFarmLogics(), TileFarmPlain.SLOT_RESOURCES_1 + j + i * 2, 123 + j * 18, 22 + i * 18));
 
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

    }
  }

  @Override
  protected void createInventory() {
    inventory = new TileInventoryAdapter(this, SLOT_COUNT, "Items");
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  public MachineCarpenter() {
    super(1100, 50, 4000);
    setHints(Config.hints.get("carpenter"));
    resourceTank = new FilteredTank(Defaults.PROCESSOR_TANK_CAPACITY, RecipeManager.recipeFluids);
    craftingInventory = new TileInventoryAdapter(this, 10, "CraftItems");
    accessibleInventory = (TileInventoryAdapter) new TileInventoryAdapter(this, 30, "Items").configureSided(Defaults.FACINGS, SLOT_BOX, 20);

    tankManager = new TankManager(resourceTank);
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  }

  @Override
  protected void createInventory() {
    swarmerInventory = new TileInventoryAdapter(this, 4, "SwarmInv");
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  private final RecipeMemory memorized;
  private final TileInventoryAdapter craftingInventory;
  private final TileInventoryAdapter accessibleInventory;

  public TileWorktable() {
    craftingInventory = new TileInventoryAdapter(this, 10, "CraftItems");
    accessibleInventory = new TileInventoryAdapter(this, 18, "Items");

    memorized = new RecipeMemory();
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  public String getInventoryName() {
    return getUnlocalizedName();
  }

  public TileEscritoire() {
    inventory = new TileInventoryAdapter(this, 12, "Items");
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  public EngineBronze() {
    super(Defaults.ENGINE_BRONZE_HEAT_MAX, 300000, 5000);
    setHints(Config.hints.get("engine.bronze"));

    inventory = new TileInventoryAdapter(this, 1, "Items");

    fuelTank = new FilteredTank(Defaults.ENGINE_TANK_CAPACITY, FuelManager.bronzeEngineFuel.keySet());
    fuelTank.tankMode = StandardTank.TankMode.INPUT;
    heatingTank = new FilteredTank(Defaults.ENGINE_TANK_CAPACITY, FluidRegistry.LAVA);
    heatingTank.tankMode = StandardTank.TankMode.INPUT;
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  public EngineCopper() {
    super(Defaults.ENGINE_COPPER_HEAT_MAX, 200000, 4000);
    setHints(Config.hints.get("engine.copper"));

    ashForItem = Defaults.ENGINE_COPPER_ASH_FOR_ITEM;
    inventory = new TileInventoryAdapter(this, 5, "Items");
  }
View Full Code Here

Examples of forestry.core.utils.TileInventoryAdapter

  }

  /* STRUCTURE MANAGMENT */
  @Override
  protected void createInventory() {
    this.inventory = new TileInventoryAdapter(this, 9, "Items");
  }
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.