Files
Chisel/src/main/java/team/chisel/block/tileentity/IDoubleChest.java
T

29 lines
695 B
Java
Raw Normal View History

2015-08-18 20:40:55 -04:00
package team.chisel.block.tileentity;
2015-02-11 22:03:53 -05:00
import net.minecraft.item.ItemStack;
public interface IDoubleChest {
/**
* @return The size of this specific chest's inventory. Does not account for the connection.
*/
int getTrueSizeInventory();
/**
* @param slot
* The true slot index.
* @return The actual stack in this chest's slot. Does not account for the connection.
*/
ItemStack getTrueStackInSlot(int slot);
/**
* Puts a stack in this chest's real slot at the given true index.
*
* @param slot
* The true slot index.
* @param stack
* The ItemStack to place in the slot.
*/
void putStackInTrueSlot(int slot, ItemStack stack);
}