c1c7e94cf6
Allows addons who register a custom IStorageChannel to use the IStorageCell interface without registering a cell handler. Also adds some helpers (poweredInsert/poweredExtract). This breaks API!
22 lines
449 B
Java
22 lines
449 B
Java
|
|
package appeng.api.util;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
import appeng.api.storage.ICellInventoryHandler;
|
|
import appeng.api.storage.data.IAEStack;
|
|
|
|
|
|
public interface IClientHelper
|
|
{
|
|
/**
|
|
* Add cell information to the provided list. Used for tooltip content.
|
|
*
|
|
* @param handler Cell handler.
|
|
* @param lines List of lines to add to.
|
|
*/
|
|
<T extends IAEStack<T>> void addCellInformation( ICellInventoryHandler<T> handler, List<String> lines );
|
|
|
|
}
|