buttonList.clear();
int w = (width - xSize) / 2;
int h = (height - ySize) / 2;
List<GuiBetterButton> row1 = new ArrayList<GuiBetterButton>();
row1.add(new GuiToggleButton(0, 0, h + 25, 50, "Chicken", detector.chicken));
row1.add(new GuiToggleButton(1, 0, h + 25, 50, "Cow", detector.cow));
row1.add(new GuiToggleButton(2, 0, h + 25, 50, "Pig", detector.pig));
row1.add(new GuiToggleButton(3, 0, h + 25, 50, "Sheep", detector.sheep));
GuiTools.newButtonRowAuto(buttonList, w, xSize, row1);
List<GuiBetterButton> row2 = new ArrayList<GuiBetterButton>();
row2.add(new GuiToggleButton(4, 0, h + 55, 50, "Wolf", detector.wolf));
row2.add(new GuiToggleButton(5, 0, h + 55, 70, "Mooshroom", detector.mooshroom));
row2.add(new GuiToggleButton(6, 0, h + 55, 50, "Other", detector.other));
GuiTools.newButtonRowAuto(buttonList, w, xSize, row2);
}