for (int x = 0; x < fuel_slots; x++)
{
int slotNumber = x + first_fuel_slot;
addSlotToContainer(new SlotFuel(player, slotNumber, fuel_slots_xpos + slot_x_spacing * x, fuel_slots_ypos));
}
//Input slots
final int input_slots_xpos = 26;
final int input_slots_ypos = 24;
for (int x = 0; x < input_slots; x++)
{
int SlotNumber = x + first_input_slot;
addSlotToContainer(new SlotProcessableInput(player, SlotNumber, input_slots_xpos + slot_x_spacing * x, input_slots_ypos));
}
//Output slots
final int output_slots_xpos = 134;
final int output_slots_ypos = 24;
for (int x = 0; x < output_slots; x++)
{
int SlotNumber = x + first_output_slot;
addSlotToContainer(new SlotOutput(player, SlotNumber, output_slots_xpos + slot_x_spacing * x, output_slots_ypos));
}
Look very hard at that and I'm sure you will see what you did wrong.