Search in sources :

Example 1 with InventoryCraftingStation

use of net.mcft.copy.betterstorage.inventory.InventoryCraftingStation in project BetterStorage by copygirl.

the class TileEntityCraftingStation method makePlayerInventory.

@Override
public InventoryTileEntity makePlayerInventory() {
    // Workaround because instance variables get initialized AFTER the
    // parent constructor. This gets called IN the parent constructor.
    crafting = new ItemStack[9];
    output = new ItemStack[9];
    stationInventory = new InventoryCraftingStation(this);
    return new InventoryTileEntity(this, stationInventory);
}
Also used : InventoryTileEntity(net.mcft.copy.betterstorage.inventory.InventoryTileEntity) InventoryCraftingStation(net.mcft.copy.betterstorage.inventory.InventoryCraftingStation)

Aggregations

InventoryCraftingStation (net.mcft.copy.betterstorage.inventory.InventoryCraftingStation)1 InventoryTileEntity (net.mcft.copy.betterstorage.inventory.InventoryTileEntity)1