Skip to content

Commit

Permalink
更改字体颜色
Browse files Browse the repository at this point in the history
0x00CD00→0x33ff99
  • Loading branch information
RuiXuqi authored Jan 23, 2023
1 parent 0123ad9 commit 11b5cbc
Show file tree
Hide file tree
Showing 26 changed files with 73 additions and 73 deletions.
14 changes: 7 additions & 7 deletions src/main/java/mekanism/client/gui/GuiDigitalMiner.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
} else {
runningType = LangUtils.localize("gui.idle");
}
fontRenderer.drawString(runningType, 9, 10, 0x00CD00);
fontRenderer.drawString(tileEntity.searcher.state.desc, 9, 19, 0x00CD00);
fontRenderer.drawString(runningType, 9, 10, 0x33ff99);
fontRenderer.drawString(tileEntity.searcher.state.desc, 9, 19, 0x33ff99);

fontRenderer.drawString(LangUtils.localize("gui.eject") + ": " + LangUtils.localize("gui." + (tileEntity.doEject ? "on" : "off")), 9, 30, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.pull") + ": " + LangUtils.localize("gui." + (tileEntity.doPull ? "on" : "off")), 9, 39, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.silk") + ": " + LangUtils.localize("gui." + (tileEntity.silkTouch ? "on" : "off")), 9, 48, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.toMine") + ":", 9, 59, 0x00CD00);
fontRenderer.drawString("" + tileEntity.clientToMine, 9, 68, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.eject") + ": " + LangUtils.localize("gui." + (tileEntity.doEject ? "on" : "off")), 9, 30, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.pull") + ": " + LangUtils.localize("gui." + (tileEntity.doPull ? "on" : "off")), 9, 39, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.silk") + ": " + LangUtils.localize("gui." + (tileEntity.silkTouch ? "on" : "off")), 9, 48, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.digitalMiner.toMine") + ":", 9, 59, 0x33ff99);
fontRenderer.drawString("" + tileEntity.clientToMine, 9, 68, 0x33ff99);

if (!tileEntity.missingStack.isEmpty()) {
drawColorIcon(144, 27, EnumColor.DARK_RED, 0.8F);
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/mekanism/client/gui/GuiDigitalMinerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@ protected void actionPerformed(GuiButton guibutton) throws IOException {
@Override
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(LangUtils.localize("gui.digitalMinerConfig"), 43, 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("gui.filters") + ":", 11, 19, 0x00CD00);
fontRenderer.drawString("T: " + tileEntity.filters.size(), 11, 28, 0x00CD00);
fontRenderer.drawString("I: " + (tileEntity.inverse ? LangUtils.localize("gui.on") : LangUtils.localize("gui.off")), 11, 131, 0x00CD00);
fontRenderer.drawString("Radi: " + tileEntity.getRadius(), 11, 58, 0x00CD00);
fontRenderer.drawString("Min: " + tileEntity.minY, 11, 83, 0x00CD00);
fontRenderer.drawString("Max: " + tileEntity.maxY, 11, 108, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.filters") + ":", 11, 19, 0x33ff99);
fontRenderer.drawString("T: " + tileEntity.filters.size(), 11, 28, 0x33ff99);
fontRenderer.drawString("I: " + (tileEntity.inverse ? LangUtils.localize("gui.on") : LangUtils.localize("gui.off")), 11, 131, 0x33ff99);
fontRenderer.drawString("Radi: " + tileEntity.getRadius(), 11, 58, 0x33ff99);
fontRenderer.drawString("Min: " + tileEntity.minY, 11, 83, 0x33ff99);
fontRenderer.drawString("Max: " + tileEntity.maxY, 11, 108, 0x33ff99);

for (int i = 0; i < 4; i++) {
IFilter filter = tileEntity.filters.get(getFilterIndex() + i);
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/mekanism/client/gui/GuiDynamicTank.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ public GuiDynamicTank(InventoryPlayer inventory, TileEntityDynamicTank tile) {
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
fontRenderer.drawString(LangUtils.localize("gui.volume") + ": " + tileEntity.clientCapacity / TankUpdateProtocol.FLUID_PER_TANK, 53, 26, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.volume") + ": " + tileEntity.clientCapacity / TankUpdateProtocol.FLUID_PER_TANK, 53, 26, 0x33ff99);
FluidStack fluidStored = tileEntity.structure != null ? tileEntity.structure.fluidStored : null;
renderScaledText(fluidStored != null ? LangUtils.localizeFluidStack(fluidStored) + ":" : LangUtils.localize("gui.noFluid"), 53, 44, 0x00CD00, 74);
renderScaledText(fluidStored != null ? LangUtils.localizeFluidStack(fluidStored) + ":" : LangUtils.localize("gui.noFluid"), 53, 44, 0x33ff99, 74);
if (fluidStored != null) {
fontRenderer.drawString(fluidStored.amount + "mB", 53, 53, 0x00CD00);
fontRenderer.drawString(fluidStored.amount + "mB", 53, 53, 0x33ff99);
}
int xAxis = mouseX - guiLeft;
int yAxis = mouseY - guiTop;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mekanism/client/gui/GuiElectricPump.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public GuiElectricPump(InventoryPlayer inventory, TileEntityElectricPump tile) {
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getEnergy(), tileEntity.getMaxEnergy()), 51, 26, 0x00CD00);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getEnergy(), tileEntity.getMaxEnergy()), 51, 26, 0x33ff99);
String text = tileEntity.fluidTank.getFluid() != null ? LangUtils.localizeFluidStack(tileEntity.fluidTank.getFluid()) + ": " + tileEntity.fluidTank.getFluid().amount
: LangUtils.localize("gui.noFluid");
renderScaledText(text, 51, 35, 0x00CD00, 74);
renderScaledText(text, 51, 35, 0x33ff99, 74);
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/mekanism/client/gui/GuiFluidicPlenisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public GuiFluidicPlenisher(InventoryPlayer inventory, TileEntityFluidicPlenisher
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getEnergy(), tileEntity.getMaxEnergy()), 51, 26, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.finished") + ": " + LangUtils.transYesNo(tileEntity.finishedCalc), 51, 35, 0x00CD00);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getEnergy(), tileEntity.getMaxEnergy()), 51, 26, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.finished") + ": " + LangUtils.transYesNo(tileEntity.finishedCalc), 51, 35, 0x33ff99);
FluidStack fluid = tileEntity.fluidTank.getFluid();
fontRenderer.drawString(fluid != null ? LangUtils.localizeFluidStack(fluid) + ": " + fluid.amount : LangUtils.localize("gui.noFluid"), 51, 44, 0x00CD00);
fontRenderer.drawString(fluid != null ? LangUtils.localizeFluidStack(fluid) + ": " + fluid.amount : LangUtils.localize("gui.noFluid"), 51, 44, 0x33ff99);
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mekanism/client/gui/GuiFuelwoodHeater.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public GuiFuelwoodHeater(InventoryPlayer inventory, TileEntityFuelwoodHeater til
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
renderScaledText(LangUtils.localize("gui.temp") + ": " + MekanismUtils.getTemperatureDisplay(tileEntity.temperature, TemperatureUnit.AMBIENT), 50, 25, 0x00CD00, 76);
renderScaledText(LangUtils.localize("gui.fuel") + ": " + tileEntity.burnTime, 50, 41, 0x00CD00, 76);
renderScaledText(LangUtils.localize("gui.temp") + ": " + MekanismUtils.getTemperatureDisplay(tileEntity.temperature, TemperatureUnit.AMBIENT), 50, 25, 0x33ff99, 76);
renderScaledText(LangUtils.localize("gui.fuel") + ": " + tileEntity.burnTime, 50, 41, 0x33ff99, 76);
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

Expand Down
8 changes: 4 additions & 4 deletions src/main/java/mekanism/client/gui/GuiInductionMatrix.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public GuiInductionMatrix(InventoryPlayer inventory, TileEntityInductionCasing t
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
fontRenderer.drawString(LangUtils.localize("gui.input") + ":", 53, 26, 0x00CD00);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getLastInput()) + "/t", 53, 35, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.output") + ":", 53, 44, 0x00CD00);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getLastOutput()) + "/t", 53, 53, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.input") + ":", 53, 26, 0x33ff99);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getLastInput()) + "/t", 53, 35, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.output") + ":", 53, 44, 0x33ff99);
fontRenderer.drawString(MekanismUtils.getEnergyDisplay(tileEntity.getLastOutput()) + "/t", 53, 53, 0x33ff99);
int xAxis = mouseX - guiLeft;
int yAxis = mouseY - guiTop;
if (xAxis >= 7 && xAxis <= 39 && yAxis >= 14 && yAxis <= 72) {
Expand Down
18 changes: 9 additions & 9 deletions src/main/java/mekanism/client/gui/GuiLogisticalSorter.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {

// Write to info display
fontRenderer.drawString(tileEntity.getName(), 43, 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("gui.filters") + ":", 11, 19, 0x00CD00);
fontRenderer.drawString("T: " + tileEntity.filters.size(), 11, 28, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.singleItem") + ":", 12, 48, 0x00CD00);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.singleItem), 27, 60, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.roundRobin") + ":", 12, 74, 0x00CD00);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.roundRobin), 27, 86, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.autoEject") + ":", 12, 100, 0x00CD00);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.autoEject), 27, 112, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.default") + ":", 12, 126, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.filters") + ":", 11, 19, 0x33ff99);
fontRenderer.drawString("T: " + tileEntity.filters.size(), 11, 28, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.singleItem") + ":", 12, 48, 0x33ff99);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.singleItem), 27, 60, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.roundRobin") + ":", 12, 74, 0x33ff99);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.roundRobin), 27, 86, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.autoEject") + ":", 12, 100, 0x33ff99);
fontRenderer.drawString(LangUtils.transOnOff(tileEntity.autoEject), 27, 112, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("mekanism.gui.logisticalSorter.default") + ":", 12, 126, 0x33ff99);

// Draw filters
for (int i = 0; i < 4; i++) {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mekanism/client/gui/GuiResistiveHeater.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ protected void actionPerformed(GuiButton guibutton) throws IOException {
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 94) + 2, 0x404040);
renderScaledText(LangUtils.localize("gui.temp") + ": " + MekanismUtils.getTemperatureDisplay(tileEntity.temperature, TemperatureUnit.AMBIENT), 50, 25, 0x00CD00, 76);
renderScaledText(LangUtils.localize("gui.usage") + ": " + MekanismUtils.getEnergyDisplay(tileEntity.energyUsage) + "/t", 50, 41, 0x00CD00, 76);
renderScaledText(LangUtils.localize("gui.temp") + ": " + MekanismUtils.getTemperatureDisplay(tileEntity.temperature, TemperatureUnit.AMBIENT), 50, 25, 0x33ff99, 76);
renderScaledText(LangUtils.localize("gui.usage") + ": " + MekanismUtils.getEnergyDisplay(tileEntity.energyUsage) + "/t", 50, 41, 0x33ff99, 76);
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mekanism/client/gui/GuiSeismicVibrator.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public GuiSeismicVibrator(InventoryPlayer inventory, TileEntitySeismicVibrator t
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(tileEntity.getName(), 45, 6, 0x404040);
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 96) + 2, 0x404040);
fontRenderer.drawString(tileEntity.isActive ? LangUtils.localize("gui.vibrating") : LangUtils.localize("gui.idle"), 19, 26, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.chunk") + ": " + (tileEntity.getPos().getX() >> 4) + ", " + (tileEntity.getPos().getZ() >> 4), 19, 35, 0x00CD00);
fontRenderer.drawString(tileEntity.isActive ? LangUtils.localize("gui.vibrating") : LangUtils.localize("gui.idle"), 19, 26, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.chunk") + ": " + (tileEntity.getPos().getX() >> 4) + ", " + (tileEntity.getPos().getZ() >> 4), 19, 35, 0x33ff99);
super.drawGuiContainerForegroundLayer(mouseX, mouseY);
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mekanism/client/gui/GuiSideConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
String title = currentType.localize() + " " + LangUtils.localize("gui.config");
fontRenderer.drawString(title, (xSize / 2) - (fontRenderer.getStringWidth(title) / 2), 5, 0x404040);
if (configurable.getConfig().canEject(currentType)) {
fontRenderer.drawString(LangUtils.localize("gui.eject") + ": " + (configurable.getConfig().isEjecting(currentType) ? "On" : "Off"), 53, 17, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.eject") + ": " + (configurable.getConfig().isEjecting(currentType) ? "On" : "Off"), 53, 17, 0x33ff99);
} else {
fontRenderer.drawString(LangUtils.localize("gui.noEject"), 53, 17, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.noEject"), 53, 17, 0x33ff99);
}
fontRenderer.drawString(LangUtils.localize("gui.slots"), 77, 81, 0x787878);
int xAxis = mouseX - guiLeft;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ public GuiThermalEvaporationController(InventoryPlayer inventory, TileEntityTher
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 96) + 4, 0x404040);
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 4, 0x404040);
fontRenderer.drawString(getStruct(), 50, 21, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.height") + ": " + tileEntity.height, 50, 30, 0x00CD00);
fontRenderer.drawString(LangUtils.localize("gui.temp") + ": " + getTemp(), 50, 39, 0x00CD00);
renderScaledText(LangUtils.localize("gui.production") + ": " + Math.round(tileEntity.lastGain * 100D) / 100D + " mB/t", 50, 48, 0x00CD00, 76);
fontRenderer.drawString(getStruct(), 50, 21, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.height") + ": " + tileEntity.height, 50, 30, 0x33ff99);
fontRenderer.drawString(LangUtils.localize("gui.temp") + ": " + getTemp(), 50, 39, 0x33ff99);
renderScaledText(LangUtils.localize("gui.production") + ": " + Math.round(tileEntity.lastGain * 100D) / 100D + " mB/t", 50, 48, 0x33ff99, 76);
int xAxis = mouseX - guiLeft;
int yAxis = mouseY - guiTop;
if (xAxis >= 7 && xAxis <= 23 && yAxis >= 14 && yAxis <= 72) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
fontRenderer.drawString(LangUtils.localize("container.inventory"), 8, (ySize - 96) + 4, 0x404040);
fontRenderer.drawString(tileEntity.getName(), (xSize / 2) - (fontRenderer.getStringWidth(tileEntity.getName()) / 2), 5, 0x404040);
renderScaledText(LangUtils.localize("gui.temp") + ": " +
MekanismUtils.getTemperatureDisplay(tileEntity.getTemperature(), TemperatureUnit.AMBIENT), 43, 30, 0x00CD00, 90);
renderScaledText(LangUtils.localize("gui.boilRate") + ": " + tileEntity.getLastBoilRate() + " mB/t", 43, 39, 0x00CD00, 90);
renderScaledText(LangUtils.localize("gui.maxBoil") + ": " + tileEntity.getLastMaxBoil() + " mB/t", 43, 48, 0x00CD00, 90);
MekanismUtils.getTemperatureDisplay(tileEntity.getTemperature(), TemperatureUnit.AMBIENT), 43, 30, 0x33ff99, 90);
renderScaledText(LangUtils.localize("gui.boilRate") + ": " + tileEntity.getLastBoilRate() + " mB/t", 43, 39, 0x33ff99, 90);
renderScaledText(LangUtils.localize("gui.maxBoil") + ": " + tileEntity.getLastMaxBoil() + " mB/t", 43, 48, 0x33ff99, 90);
int xAxis = mouseX - guiLeft;
int yAxis = mouseY - guiTop;
if (xAxis >= 7 && xAxis <= 23 && yAxis >= 14 && yAxis <= 72) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
String text = LangUtils.localize("gui.configuration.transporter");
fontRenderer.drawString(text, (xSize / 2) - (fontRenderer.getStringWidth(text) / 2), 5, 0x404040);
text = LangUtils.localize("gui.strictInput") + " (" + LangUtils.transOnOff(configurable.getEjector().hasStrictInput()) + ")";
renderScaledText(text, 53, 17, 0x00CD00, 70);
renderScaledText(text, 53, 17, 0x33ff99, 70);
fontRenderer.drawString(LangUtils.localize("gui.input"), 48, 81, 0x787878);
fontRenderer.drawString(LangUtils.localize("gui.output"), 114, 68, 0x787878);
int xAxis = mouseX - guiLeft;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
private void renderText(String text, int x, int y, float size, boolean scale) {
GlStateManager.pushMatrix();
GlStateManager.scale(size, size, size);
fontRenderer.drawString(text, scale ? (int) ((1F / size) * x) : x, scale ? (int) ((1F / size) * y) : y, 0x00CD00);
fontRenderer.drawString(text, scale ? (int) ((1F / size) * x) : x, scale ? (int) ((1F / size) * y) : y, 0x33ff99);
GlStateManager.popMatrix();
}

Expand Down
Loading

0 comments on commit 11b5cbc

Please sign in to comment.