if(!backpack.isIntelligent()) {
// arrow
guiBackpack.addSubPart(new Icon(0, 238, 90, 35, 22, 15));
// clear button
Button btn_clear = new Button(0, 88, 16, 11, 11, "c");
guiBackpack.addSubPart(btn_clear);
} else {
Button btn_clear = new Button(0, 66, 16, 11, 11, "c");
Button btn_save = new Button(1, 81, 16, 11, 11, "s");
guiBackpack.addSubPart(btn_clear);
guiBackpack.addSubPart(btn_save);
}
int textPositionX = 28;