Update nag message, add migration recipes for everything

This commit is contained in:
Vincent Lee committed 2016-04-17 20:03:31 -05:00
1 parent de0ba4ada9
commit 55262cd4e5
5 files changed
+152 -21

No files matched your search

@@ -54,6 +54,7 @@ public class Botania {
public static boolean etFuturumLoaded = false;
public static boolean rfApiLoaded = false;
public static boolean storageDrawersLoaded = false;
public static boolean quarkLoaded = false;
public static ILightHelper lightHelper;
@@ -73,6 +74,7 @@ public class Botania {
coloredLightsLoaded = Loader.isModLoaded("easycoloredlights");
etFuturumLoaded = Loader.isModLoaded("etfuturum");
rfApiLoaded = ModAPIManager.INSTANCE.hasAPI("CoFHAPI|energy");
quarkLoaded = Loader.isModLoaded("Quark");
storageDrawersLoaded = Loader.isModLoaded("StorageDrawers");
@@ -86,13 +88,13 @@ public class Botania {
public void nagUnofficial(PlayerEvent.PlayerLoggedInEvent evt) {
EntityPlayer player = evt.player;
ITextComponent message = new TextComponentTranslation("botaniamisc.unofficial.nag");
ITextComponent message = new TextComponentTranslation("botaniamisc.unofficial.warnRemove");
message.setStyle(new Style().setColor(TextFormatting.RED));
ITextComponent message2 = new TextComponentTranslation("botaniamisc.unofficial.report");
message2.setStyle(new Style().setColor(TextFormatting.YELLOW));
ITextComponent url = new TextComponentString("https://github.com/williewillus/Botania/issues");
ITextComponent url = new TextComponentString(" https://github.com/williewillus/Botania/issues");
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")));