Package tconstruct.armor.inventory

Examples of tconstruct.armor.inventory.SlotOnlyTake


    public PatternShaperContainer(InventoryPlayer inventoryplayer, StencilTableLogic shaper)
    {
        logic = shaper;
        this.addSlotToContainer(new Slot(shaper, 0, 48, 35));
        this.addSlotToContainer(new SlotOnlyTake(shaper, 1, 106, 35));
        /*for (int i = 0; i < 3; i++)
        {
            for (int l = 0; l < 3; l++)
            {
              this.addSlotToContainer(new Slot(craftMatrix, l + i * 3, 30 + l * 18, 17 + i * 18));
 
View Full Code Here


    {
        invPlayer = inventoryplayer;
        logic = partLogic;
        largeInventory = false;

        inventory = new Slot[] { new SlotPattern(partLogic, 0, 40, 27), new SlotPattern(partLogic, 1, 40, 45), new Slot(partLogic, 2, 58, 27), new Slot(partLogic, 3, 58, 45), new SlotOnlyTake(partLogic, 4, 102, 27), new SlotOnlyTake(partLogic, 5, 120, 27), new SlotOnlyTake(partLogic, 6, 102, 45), new SlotOnlyTake(partLogic, 7, 120, 45) };
        for (int iter = 0; iter < inventory.length; iter++)
            this.addSlotToContainer(inventory[iter]);

        /* Player inventory */
        for (int column = 0; column < 3; column++)
View Full Code Here

    {
        logic = partLogic;
        patternLogic = pLogic;
        largeInventory = true;

        inventory = new Slot[] { new SlotPattern(partLogic, 0, 156, 27), new SlotPattern(partLogic, 1, 156, 45), new Slot(partLogic, 2, 174, 27), new Slot(partLogic, 3, 174, 45), new SlotOnlyTake(partLogic, 4, 218, 27), new SlotOnlyTake(partLogic, 5, 236, 27), new SlotOnlyTake(partLogic, 6, 218, 45), new SlotOnlyTake(partLogic, 7, 236, 45) };
        for (int iter = 0; iter < inventory.length; iter++)
            this.addSlotToContainer(inventory[iter]);

        /* Holder inventory */
        for (int column = 0; column < 5; column++)
View Full Code Here

TOP

Related Classes of tconstruct.armor.inventory.SlotOnlyTake

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.