Slot index changes (#734)

Changes slot index values to allow machines to be pulled from.
This commit is contained in:
Utoc 2016-08-27 02:02:44 -05:00 committed by Modmuss50
parent 1bc7259559
commit 2ae38dea9e
3 changed files with 5 additions and 5 deletions

View file

@ -93,17 +93,17 @@ public class TileImplosionCompressor extends TilePowerAcceptor implements IWrenc
@Override
public int[] getSlotsForFace(EnumFacing side) {
return new int[] {0, 1};
return new int[] {0, 1, 2, 3};
}
@Override
public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction) {
return index == 0;
return index == 0 || index == 1;
}
@Override
public boolean canExtractItem(int index, ItemStack stack, EnumFacing direction) {
return index == 1;
return index == 2 || index == 3;
}
public int getProgressScaled(int scale) {

View file

@ -98,7 +98,7 @@ public class TileCompressor extends TilePowerAcceptor implements IWrenchable, II
@Override
public boolean canExtractItem(int slotIndex, ItemStack itemStack, EnumFacing side)
{
return slotIndex == 2;
return slotIndex == 1;
}
public int getProgressScaled(int scale)

View file

@ -196,7 +196,7 @@ public class TileElectricFurnace extends TilePowerAcceptor implements IWrenchabl
@Override
public boolean canExtractItem(int slotIndex, ItemStack itemStack, EnumFacing side)
{
return slotIndex == 2;
return slotIndex == 1;
}
@Override