Package forestry.core.gui.slots

Examples of forestry.core.gui.slots.SlotCrafter


    // Plan
    this.addSlot(new Slot(tile, MachineFabricator.SLOT_PLAN, 139, 17));

    // Result
    this.addSlot(new SlotCrafter(tile, tile, MachineFabricator.SLOT_RESULT, 139, 53));

    // Crafting matrix
    for (int l = 0; l < 3; l++)
      for (int k = 0; k < 3; k++)
        addSlot(new Slot(tile, MachineFabricator.SLOT_CRAFTING_1 + k + l * 3, 67 + k * 18, 17 + l * 18));
 
View Full Code Here


        addSlot(new SlotCraftMatrix(this, craftingInventory, k1 + l * 3, 11 + k1 * 18, 20 + l * 18));
      }
    }

    // CraftResult display
    addSlot(new SlotCrafter(craftingInventory, tile, TileWorktable.SLOT_CRAFTING_RESULT, 77, 38));

    // Player inventory
    for (int i1 = 0; i1 < 3; i1++) {
      for (int l1 = 0; l1 < 9; l1++) {
        addSlot(new Slot(player.inventory, l1 + i1 * 9 + 9, 8 + l1 * 18, 136 + i1 * 18));
 
View Full Code Here

TOP

Related Classes of forestry.core.gui.slots.SlotCrafter

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.