Fixes #822 Automation of IO Port works as inteded again

Top and bottom can insert into input slots 0 - 5 on the left
Sides can extract from output slots 6 - 11 on the eight
This commit is contained in:
thatsIch
2015-03-22 11:07:25 +01:00
parent 9c1c9056f1
commit da91585d69
11 changed files with 228 additions and 187 deletions
@@ -174,15 +174,15 @@ public class TileSpatialIOPort extends AENetworkInvTile implements Callable
}
@Override
public boolean canInsertItem(int i, ItemStack itemstack, int j)
public boolean canInsertItem(int slotIndex, ItemStack insertingItem, int side )
{
return this.isItemValidForSlot( i, itemstack );
return this.isItemValidForSlot( slotIndex, insertingItem );
}
@Override
public boolean canExtractItem(int i, ItemStack itemstack, int j)
public boolean canExtractItem(int slotIndex, ItemStack extractedItem, int side )
{
return i == 1;
return slotIndex == 1;
}
@Override