mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Adding CompressionHandler for superAwesomeSigilOfAwesome!
This commit is contained in:
1 parent
90aeaac6e2
commit
75dcf143d5
6 files changed
+330
-3
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package WayofTime.alchemicalWizardry.api.compress;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public abstract class CompressionHandler
|
||||
{
|
||||
public abstract ItemStack getResultStack();
|
||||
|
||||
public abstract ItemStack getRequiredStack();
|
||||
|
||||
/**
|
||||
* Called to look at the inventory and syphons the required stack. Returns getResultStack if successful, and null if not.
|
||||
* @param inv The inventory iterated through
|
||||
* @return The result of the compression
|
||||
*/
|
||||
public abstract ItemStack compressInventory(ItemStack[] inv);
|
||||
}
|
||||
Reference in new issue
Block a user