@Override
public DummyContainer getContainer(EntityPlayer player) {
ModuleCrafter module = this.getLogisticsModule(player.getEntityWorld(), ModuleCrafter.class);
if(module == null) return null;
DummyContainer dummy = new DummyContainer(player.inventory, module.getDummyInventory());
dummy.addNormalSlotsForPlayerInventory(18, 97);
//Input slots
for(int l = 0; l < 9; l++) {
dummy.addDummySlot(l, 18 + l * 18, 18);
}
//Output slot
dummy.addDummySlot(9, 90, 64);
for(int i=0;i < this.liquidCrafter;i++) {
int liquidLeft = -(i*40) - 40;
dummy.addFluidSlot(i, module.getFluidInventory(), liquidLeft + 13, 42);
}
if(this.hasByproductExtractor) {
dummy.addDummySlot(10, 197, 104);
}
for(int Y = 0;Y < this.cleanupSize;Y++) {
for(int X=0;X < 3;X++) {
dummy.addDummySlot(Y * 3 + X, module.getCleanupInventory(), X * 18 - 57, Y * 18 + 13);
}
}
return dummy;
}