mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 06:24:26 +00:00
Feature/code improve (#221)
* Code improvement for genetics.api Code improvement for genetics.core Fix missed localization for info of Lab Stand * Code improvement for genetics.genetics package
This commit is contained in:
1 parent
9e1ec59b86
commit
3ff4957a10
105 files changed
+1500
-1443
No files matched your search
@@ -396,7 +396,7 @@ public class PlankType {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColour() {
|
||||
public int getColor() {
|
||||
return this.color;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,9 +92,9 @@ public class PageSpeciesTreeGenome extends PageSpecies {
|
||||
}
|
||||
if (leaf != null) {
|
||||
new ControlText(contents, new Area(0, y, w2, th2), I18N.localise("extratrees.gui.database.leaves") + " : ", TextJustification.MIDDLE_RIGHT);
|
||||
new ControlBlockIconDisplay(contents, w2, y, leaf).setColour(leafColour);
|
||||
new ControlBlockIconDisplay(contents, w2, y, leaf).setColor(leafColour);
|
||||
if (fruit != null && !treeSpecies.getUID().equals("forestry.treeOak")) {
|
||||
new ControlBlockIconDisplay(contents, w2, y, fruit).setColour(fruitColour);
|
||||
new ControlBlockIconDisplay(contents, w2, y, fruit).setColor(fruitColour);
|
||||
}
|
||||
y += th2;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public class WindowWoodworker extends Window {
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void initialiseClient() {
|
||||
this.setTitle(Machine.getMachine(this.getInventory()).getPackage().getDisplayName());
|
||||
new ControlText(this, new Area(190, 36, 114, 10), I18N.localise("binniecore.gui.design"), TextJustification.TOP_CENTER).setColour(4473924);
|
||||
new ControlText(this, new Area(190, 36, 114, 10), I18N.localise("binniecore.gui.design"), TextJustification.TOP_CENTER).setColor(4473924);
|
||||
new Panel(this, 188, 48, 118, 126, MinecraftGUI.PanelType.Gray);
|
||||
this.textEdit = new ControlTextEdit(this, 188, 178, 118, 12);
|
||||
final ControlScrollableContent scroll = new ControlScrollableContent(this, 190, 50, 114, 122, 12);
|
||||
|
||||
Reference in new issue
Block a user