Package forestry.core.utils

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


    }
  }

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

  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

  }

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

  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

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

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

  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

  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

  }

  /* STRUCTURE MANAGMENT */
  @Override
  protected void createInventory() {
    this.inventory = new TileInventoryAdapter(this, 9, "Items");
  }
View Full Code Here

TOP

Related Classes of forestry.core.utils.TileInventoryAdapter

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.