Fixes item tool tips not rendering in gui's
This commit is contained in:
parent
70a2755796
commit
5dd9fb14a1
19 changed files with 113 additions and 0 deletions
|
@ -92,4 +92,10 @@ public class GuiAESU extends GuiContainer {
|
|||
super.actionPerformed(button);
|
||||
NetworkManager.sendToServer(new PacketAesu(button.id, aesu));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,4 +76,10 @@ public class GuiAlloyFurnace extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8,
|
||||
this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,4 +81,10 @@ public class GuiAlloySmelter extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8,
|
||||
this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,4 +81,10 @@ public class GuiAssemblingMachine extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8,
|
||||
this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,6 +137,12 @@ public class GuiBase extends GuiContainer {
|
|||
drawTitle();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
protected void drawTitle() {
|
||||
drawCentredString(I18n.translateToLocal(tile.getBlockType().getUnlocalizedName() + ".name"), 6, 4210752, Layer.FOREGROUND);
|
||||
}
|
||||
|
|
|
@ -84,4 +84,10 @@ public class GuiChunkLoader extends GuiContainer {
|
|||
this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -57,4 +57,10 @@ public class GuiDestructoPack extends GuiContainer {
|
|||
4210752);
|
||||
super.drawGuiContainerForegroundLayer(arg0, arg1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,4 +69,10 @@ public class GuiDieselGenerator extends GuiContainer {
|
|||
this.fontRendererObj.drawString(PowerSystem.getLocaliszedPower(this.dieselGenerator.getEnergy()) + "", 10, 50,
|
||||
16448255);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -136,4 +136,10 @@ public class GuiFusionReactor extends GuiContainer {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,4 +65,10 @@ public class GuiGasTurbine extends GuiContainer {
|
|||
this.fontRendererObj.drawString("Liquid Amount", 10, 20, 16448255);
|
||||
this.fontRendererObj.drawString(this.gasTurbine.tank.getFluidAmount() + "", 10, 30, 16448255);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,4 +84,10 @@ public class GuiImplosionCompressor extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory", new Object[0]), 8, this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -114,4 +114,9 @@ public class GuiIndustrialSawmill extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.translateToLocalFormatted("container.inventory"), 58, this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,4 +75,10 @@ public class GuiIronFurnace extends GuiContainer {
|
|||
this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -74,4 +74,10 @@ public class GuiLESU extends GuiContainer {
|
|||
Color.WHITE.getRGB());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -64,4 +64,10 @@ public class GuiQuantumTank extends GuiContainer {
|
|||
this.fontRendererObj.drawString("Liquid Amount", 10, 20, 16448255);
|
||||
this.fontRendererObj.drawString(this.quantumTank.tank.getFluidAmount() + "", 10, 30, 16448255);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,4 +80,10 @@ public class GuiRollingMachine extends GuiContainer {
|
|||
super.initGui();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -75,4 +75,10 @@ public class GuiScrapboxinator extends GuiContainer {
|
|||
this.fontRendererObj.drawString(I18n.format("container.inventory", new Object[0]), 8, this.ySize - 96 + 2,
|
||||
4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,4 +67,10 @@ public class GuiSemifluidGenerator extends GuiContainer {
|
|||
this.fontRendererObj.drawString("Liquid Amount", 10, 20, 16448255);
|
||||
this.fontRendererObj.drawString(this.semifluidGenerator.tank.getFluidAmount() + "", 10, 30, 16448255);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,4 +68,10 @@ public class GuiThermalGenerator extends GuiContainer {
|
|||
this.fontRendererObj.drawString(this.thermalGenerator.getEnergy() + "", 10, 40, 16448255);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float partialTicks) {
|
||||
super.drawScreen(mouseX, mouseY, partialTicks);
|
||||
this.func_191948_b(mouseX, mouseY);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue