001    /**
002     * This software is provided under the terms of the Minecraft Forge Public
003     * License v1.0.
004     */
005    
006    package net.minecraftforge.common;
007    
008    import net.minecraft.inventory.IInventory;
009    
010    /** Inventory ranges mapped by side.  This class is implemented by TileEntities
011     * that provide different inventory slot ranges to different sides.
012     */
013    public interface ISidedInventory extends IInventory
014    {
015    
016        /**
017         * Get the start of the side inventory.
018         * @param side The global side to get the start of range.
019         */
020        int getStartInventorySide(ForgeDirection side);
021    
022        /**
023         * Get the size of the side inventory.
024         * @param side The global side.
025         */
026        int getSizeInventorySide(ForgeDirection side);
027    }
028