mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-25 12:58:33 +01:00
gay
This commit is contained in:
parent
cb928c5bbf
commit
4bd1f9eece
2 changed files with 13 additions and 0 deletions
|
@ -94,6 +94,19 @@ public class PatchouliCompat implements ICompat {
|
||||||
GuiUtils.drawHoveringText(
|
GuiUtils.drawHoveringText(
|
||||||
Collections.singletonList(TextFormatting.GOLD + "It's the author Ellpeck's birthday!"),
|
Collections.singletonList(TextFormatting.GOLD + "It's the author Ellpeck's birthday!"),
|
||||||
event.mouseX, event.mouseY, event.gui.width, event.gui.height, 0, event.gui.getMinecraft().fontRenderer);
|
event.mouseX, event.mouseY, event.gui.width, event.gui.height, 0, event.gui.getMinecraft().fontRenderer);
|
||||||
|
} else if (now.getMonth() == Month.JUNE) {
|
||||||
|
int x = event.gui.width / 2 + 272 / 2;
|
||||||
|
int y = event.gui.height / 2 - 180 / 2 + 16;
|
||||||
|
|
||||||
|
RenderHelper.disableStandardItemLighting();
|
||||||
|
GlStateManager.color4f(1, 1, 1, 1);
|
||||||
|
event.gui.getMinecraft().getTextureManager().bindTexture(ClientEvents.BOOK_GUI);
|
||||||
|
AbstractGui.blit(x, y, 424, 0, 45, 26, 512, 256);
|
||||||
|
|
||||||
|
if (event.mouseX >= x && event.mouseY >= y && event.mouseX < x + 45 && event.mouseY < y + 26)
|
||||||
|
GuiUtils.drawHoveringText(
|
||||||
|
Collections.singletonList("§6Happy §4P§6r§ei§2d§9e§5!"),
|
||||||
|
event.mouseX, event.mouseY, event.gui.width, event.gui.height, 0, event.gui.getMinecraft().fontRenderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
String name = event.gui.getMinecraft().player.getName().getFormattedText();
|
String name = event.gui.getMinecraft().player.getName().getFormattedText();
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 26 KiB |
Loading…
Reference in a new issue