Finishing up Compression sigil

This commit is contained in:
WayofTime committed 2014-11-20 10:19:45 -05:00
1 parent 107cc50b05
commit 174d56b8ff
11 files changed
+228 -39

No files matched your search

@@ -1,17 +1,14 @@
package WayofTime.alchemicalWizardry.api.compress;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
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.
* Called to look at the inventory and syphons the required stack. Returns resultant stack if successful, and null if not.
* @param inv The inventory iterated through
* @return The result of the compression
*/
public abstract ItemStack compressInventory(ItemStack[] inv);
public abstract ItemStack compressInventory(ItemStack[] inv, World world);
}