mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Finishing up Compression sigil
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user