Feature #3832: Made onRequestChange() less ambiguous (#3833)

This commit is contained in:
yueh
2018-12-23 22:41:52 +01:00
committed by GitHub
parent ed643787df
commit a847a01d8a
3 changed files with 29 additions and 13 deletions
@@ -99,9 +99,18 @@ public interface ICraftingGrid extends IGridCache
/**
* is this item being crafted?
*
* @param aeStackInSlot item being crafted
* @param what item being crafted
*
* @return true if it is being crafting
*/
boolean isRequesting( IAEItemStack aeStackInSlot );
boolean isRequesting( IAEItemStack what );
/**
* The total amount being requested across all crafting cpus of a grid.
*
* @param what item being requested, ignores stacksize
*
* @return The total amount being requested.
*/
long requesting( IAEItemStack what );
}