Fixed performance of the compression handler, and made the ritual checking a lot more streamlined. Allowed hoppers, etc, to interact with the chemistry set.
This commit is contained in:
parent
ce08afaf9f
commit
4db4b458da
6 changed files with 26 additions and 80 deletions
|
@ -100,6 +100,10 @@ public class AdvancedCompressionHandler extends CompressionHandler
|
|||
|
||||
public boolean isResultStackReversible(ItemStack stack, int gridSize, World world)
|
||||
{
|
||||
if(stack == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
InventoryCrafting inventory = new InventoryCrafting(new Container()
|
||||
{
|
||||
public boolean canInteractWith(EntityPlayer player)
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
package WayofTime.alchemicalWizardry.common.compress;
|
||||
|
||||
import net.minecraft.inventory.InventoryCrafting;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class DumbyInventoryCrafting extends InventoryCrafting
|
||||
{
|
||||
public DumbyInventoryCrafting(int x, int y)
|
||||
{
|
||||
super(null, x, y);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setInventorySlotContents(int slot, ItemStack stack)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue