mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
21 lines
430 B
Java
21 lines
430 B
Java
package cofh.api.item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
/**
|
|
* Implement this interface on Item classes that are themselves inventories.
|
|
*
|
|
* There's no real interaction here - the point of this is to correctly identify these items and prevent nesting.
|
|
*
|
|
* @author King Lemming
|
|
*
|
|
*/
|
|
public interface IInventoryContainerItem {
|
|
|
|
/**
|
|
* Get the size of this inventory.
|
|
*/
|
|
int getSizeInventory(ItemStack stack);
|
|
|
|
}
|