ISidedInventory is now explicitely an inventory
This commit is contained in:
parent
56438eb585
commit
b3d605cd9d
1 changed files with 7 additions and 3 deletions
|
@ -5,12 +5,15 @@
|
||||||
|
|
||||||
package net.minecraft.src.forge;
|
package net.minecraft.src.forge;
|
||||||
|
|
||||||
|
import net.minecraft.src.IInventory;
|
||||||
|
|
||||||
/** Inventory ranges mapped by side. This class is implemented by TileEntities
|
/** Inventory ranges mapped by side. This class is implemented by TileEntities
|
||||||
* that provide different inventory slot ranges to different sides.
|
* 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.
|
* @param side The global side to get the start of range.
|
||||||
* 0: -Y (bottom side)
|
* 0: -Y (bottom side)
|
||||||
* 1: +Y (top side)
|
* 1: +Y (top side)
|
||||||
|
@ -21,7 +24,8 @@ public interface ISidedInventory {
|
||||||
*/
|
*/
|
||||||
int getStartInventorySide(int side);
|
int getStartInventorySide(int side);
|
||||||
|
|
||||||
/** Get the size of the side inventory.
|
/**
|
||||||
|
* Get the size of the side inventory.
|
||||||
* @param side The global side.
|
* @param side The global side.
|
||||||
*/
|
*/
|
||||||
int getSizeInventorySide(int side);
|
int getSizeInventorySide(int side);
|
||||||
|
|
Loading…
Reference in a new issue