mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 12:42:50 +00:00
Garble Flarg
Best 2000th commit ever.
This commit is contained in:
1 parent
ba454c6358
commit
12db120a27
2 files changed
+15
-4
No files matched your search
@@ -130,11 +130,22 @@ public class GuiLexicon extends GuiScreen {
|
||||
drawTexturedModalRect(left - 19, top + 12, 67, 180, 19, 26);
|
||||
if(par1 >= left - 19 && par1 < left && par2 >= top + 12 && par2 < top + 38) {
|
||||
mc.renderEngine.bindTexture(textureToff);
|
||||
GL11.glPushMatrix();
|
||||
GL11.glScalef(0.5F, 0.5F, 0.5F);
|
||||
drawTexturedModalRect((left - 92) * 2, (top + 40) * 2, 0, 0, 184, 248);
|
||||
GL11.glScalef(2F, 2F, 2F);
|
||||
|
||||
RenderHelper.renderTooltip(par1, par2, Arrays.asList(EnumChatFormatting.GOLD + "#goldfishchris", EnumChatFormatting.AQUA + "CONGRATS ON YOUR NEW COMPUTER!!", "vazkii.us/goldfish"));
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
GL11.glTranslatef(0F, 0F, 2F);
|
||||
|
||||
int w = 256;
|
||||
int h = 152;
|
||||
int x = (int) ((ClientTickHandler.ticksInGame + par3) * 6) % (width + w) - w;
|
||||
int y = (int) (top + guiHeight / 2 - h / 4 + Math.sin((ClientTickHandler.ticksInGame + par3) / 6.0) * 40);
|
||||
|
||||
drawTexturedModalRect(x * 2, y * 2, 0, 0, w, h);
|
||||
GL11.glDisable(GL11.GL_BLEND);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
RenderHelper.renderTooltip(par1, par2, Arrays.asList(EnumChatFormatting.GOLD + "#goldfishchris", EnumChatFormatting.RED + "INTENSIFY HIM"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user