mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Update forge
This commit is contained in:
1 parent
5f3172bd5d
commit
69db133091
197 files changed
+524
-830
No files matched your search
@@ -87,14 +87,14 @@ public class Botania {
|
||||
EntityPlayer player = evt.player;
|
||||
|
||||
ITextComponent message = new TextComponentTranslation("botaniamisc.unofficial.nag");
|
||||
message.setChatStyle(new Style().setColor(TextFormatting.RED));
|
||||
message.setStyle(new Style().setColor(TextFormatting.RED));
|
||||
|
||||
ITextComponent message2 = new TextComponentTranslation("botaniamisc.unofficial.report");
|
||||
message2.setChatStyle(new Style().setColor(TextFormatting.YELLOW));
|
||||
message2.setStyle(new Style().setColor(TextFormatting.YELLOW));
|
||||
|
||||
ITextComponent url = new TextComponentString("https://github.com/williewillus/Botania/issues");
|
||||
url.getChatStyle().setChatClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/williewillus/Botania/issues"));
|
||||
url.getChatStyle().setChatHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString("CLICK")));
|
||||
url.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.OPEN_URL, "https://github.com/williewillus/Botania/issues"));
|
||||
url.getStyle().setHoverEvent(new HoverEvent(HoverEvent.Action.SHOW_TEXT, new TextComponentString("CLICK")));
|
||||
|
||||
player.addChatComponentMessage(message);
|
||||
|
||||
|
||||
Reference in new issue
Block a user