Package net.mcft.copy.betterstorage.inventory

Examples of net.mcft.copy.betterstorage.inventory.InventoryBackpackEquipped


    ItemStack backpack = ItemBackpack.getBackpack(carrier);
    if (backpack == null) return false;
    ItemBackpack backpackType = (ItemBackpack)backpack.getItem();
   
    IInventory inventory = ItemBackpack.getBackpackItems(carrier, player);
    inventory = new InventoryBackpackEquipped(carrier, player, inventory);
    if (!inventory.isUseableByPlayer(player)) return false;
   
    int columns = backpackType.getBackpackColumns();
    int rows = backpackType.getBackpackRows();
    Container container = new ContainerBetterStorage(player, inventory, columns, rows);
View Full Code Here

TOP

Related Classes of net.mcft.copy.betterstorage.inventory.InventoryBackpackEquipped

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.