ISidedInventory is now explicitely an inventory

This commit is contained in:
Space Toad 2011-10-02 19:14:20 +00:00
parent 56438eb585
commit b3d605cd9d
1 changed files with 7 additions and 3 deletions

View File

@ -5,12 +5,15 @@
package net.minecraft.src.forge;
import net.minecraft.src.IInventory;
/** Inventory ranges mapped by side. This class is implemented by TileEntities
* that provide different inventory slot ranges to different sides.
*/
public interface ISidedInventory {
public interface ISidedInventory extends IInventory {
/** Get the start of the side inventory.
/**
* Get the start of the side inventory.
* @param side The global side to get the start of range.
* 0: -Y (bottom side)
* 1: +Y (top side)
@ -21,7 +24,8 @@ public interface ISidedInventory {
*/
int getStartInventorySide(int side);
/** Get the size of the side inventory.
/**
* Get the size of the side inventory.
* @param side The global side.
*/
int getSizeInventorySide(int side);