mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
ISidedInventory is now explicitely an inventory
This commit is contained in:
1 parent
56438eb585
commit
b3d605cd9d
1 file changed
+7
-3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user