Give bee products tooltips with their names in the Beealyzer

Remove semicolon at end of bee territory area vect (not used)
This commit is contained in:
mezz committed 2014-09-14 00:24:02 -07:00
1 parent b7e3145af5
commit 5cf658fbe8
2 files changed
+11 -6

No files matched your search

@@ -243,6 +243,9 @@ public class GuiBeealyzer extends GuiAlyzer {
private void drawAnalyticsPage3(IBee bee, EnumBeeType type) {
float factor = this.factor;
this.setFactor(1.0f);
tempProductList = bee.getProduceList();
startPage(COLUMN_0, COLUMN_1, COLUMN_2);
@@ -253,8 +256,8 @@ public class GuiBeealyzer extends GuiAlyzer {
int x = COLUMN_0;
for (ItemStack stack : tempProductList) {
itemRender.renderItemIntoGUI(fontRendererObj, mc.renderEngine, stack, (int) ((guiLeft + x) * (1 / factor)),
(int) ((guiTop + getLineY()) * (1 / factor)));
widgetManager.add(new ItemStackWidget(adjustToFactor(x), adjustToFactor(getLineY()), stack));
x += 18;
if (x > adjustToFactor(148)) {
x = COLUMN_0;
@@ -262,16 +265,16 @@ public class GuiBeealyzer extends GuiAlyzer {
}
}
newLine();
newLine();
newLine();
drawLine(StringUtil.localize("gui.beealyzer.specialty") + ":", COLUMN_0);
newLine();
x = COLUMN_0;
for (ItemStack stack : bee.getSpecialtyList()) {
itemRender.renderItemIntoGUI(fontRendererObj, mc.renderEngine, stack, (int) ((guiLeft + x) * (1 / factor)),
(int) ((guiTop + getLineY()) * (1 / factor)));
widgetManager.add(new ItemStackWidget(adjustToFactor(x), adjustToFactor(getLineY()), stack));
x += 18;
if (x > adjustToFactor(148)) {
x = COLUMN_0;
@@ -280,6 +283,8 @@ public class GuiBeealyzer extends GuiAlyzer {
}
endPage();
this.setFactor(factor);
}
}
+1 -1
View File
@@ -51,7 +51,7 @@ public class Vect {
@Override
public String toString() {
return String.format("%sx%sx%s;", x, y, z);
return String.format("%sx%sx%s", x, y, z);
}
@Override