mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-13 16:54:21 +00:00
19 lines
510 B
Java
19 lines
510 B
Java
package forestry.api.storage;
|
|||
|
|
|
||
|
|
import net.minecraft.item.Item;
|
||
|
|
|
||
|
|
public interface IBackpackInterface {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Adds a backpack with the given id, definition and type, returning the item.
|
||
|
|
*
|
||
|
|
* @param itemID
|
||
|
|
* Item id to use.
|
||
|
|
* @param definition
|
||
|
|
* Definition of backpack behaviour.
|
||
|
|
* @param type
|
||
|
|
* Type of backpack. (T1 or T2 (= Woven)
|
||
|
|
* @return Created backpack item.
|
||
|
|
*/
|
||
|
|
Item addBackpack(int itemID, IBackpackDefinition definition, EnumBackpackType type);
|
||
|
|
}
|