diff --git a/src/main/java/vazkii/botania/common/Botania.java b/src/main/java/vazkii/botania/common/Botania.java index 69e897c3c..fc5a5922b 100644 --- a/src/main/java/vazkii/botania/common/Botania.java +++ b/src/main/java/vazkii/botania/common/Botania.java @@ -42,7 +42,8 @@ import vazkii.botania.common.integration.coloredlights.LightHelperColored; import vazkii.botania.common.integration.coloredlights.LightHelperVanilla; import vazkii.botania.common.lib.LibMisc; -@Mod(modid = LibMisc.MOD_ID, name = LibMisc.MOD_NAME, version = LibMisc.VERSION, dependencies = LibMisc.DEPENDENCIES, guiFactory = LibMisc.GUI_FACTORY, acceptedMinecraftVersions = LibMisc.MC_VERSIONS) +@Mod(modid = LibMisc.MOD_ID, name = LibMisc.MOD_NAME, version = LibMisc.VERSION, dependencies = LibMisc.DEPENDENCIES, + guiFactory = LibMisc.GUI_FACTORY, acceptedMinecraftVersions = LibMisc.MC_VERSIONS, updateJSON = LibMisc.UPDATE_JSON) public class Botania { public static boolean gardenOfGlassLoaded = false; diff --git a/src/main/java/vazkii/botania/common/lib/LibMisc.java b/src/main/java/vazkii/botania/common/lib/LibMisc.java index 5f372cb07..0995a4ce5 100644 --- a/src/main/java/vazkii/botania/common/lib/LibMisc.java +++ b/src/main/java/vazkii/botania/common/lib/LibMisc.java @@ -17,8 +17,9 @@ public final class LibMisc { public static final String MOD_NAME = MOD_ID; public static final String BUILD = "GRADLE:BUILD"; public static final String VERSION = "GRADLE:VERSION-" + BUILD; - public static final String DEPENDENCIES = "required-after:Forge@[12.16.1.1909,];required-after:Baubles;after:Thaumcraft"; + public static final String DEPENDENCIES = "required-after:Forge@[12.17.0.1922,];required-after:Baubles;after:Thaumcraft"; public static final String MC_VERSIONS = "[1.9.4]"; + public static final String UPDATE_JSON = "https://raw.githubusercontent.com/williewillus/Botania/MC19/version/update.json"; // Network Contants public static final String NETWORK_CHANNEL = MOD_ID; diff --git a/version/update.json b/version/update.json new file mode 100644 index 000000000..7267968b9 --- /dev/null +++ b/version/update.json @@ -0,0 +1,21 @@ +{ + "homepage": "https://minecraft.curseforge.com/projects/botania-unofficial", + "1.9": { + "r1.8-301": "See https://github.com/williewillus/Botania/releases/r1.8-301", + "r1.8-302": "See https://github.com/williewillus/Botania/releases/r1.8-302", + "r1.8-303": "See https://github.com/williewillus/Botania/releases/r1.8-303", + "r1.8-304": "See https://github.com/williewillus/Botania/releases/r1.8-304", + "r1.8-305": "See https://github.com/williewillus/Botania/releases/r1.8-305" + }, + "1.9.4": { + "r1.8-306": "See https://github.com/williewillus/Botania/releases/r1.8-306", + "r1.8-307": "See https://github.com/williewillus/Botania/releases/r1.8-307", + "r1.8-308": "See https://github.com/williewillus/Botania/releases/r1.8-308" + }, + "promos": { + "1.9-latest": "r1.8-305", + "1.9-recommended": "r1.8-305", + "1.9.4-latest": "r1.8-308", + "1.9.4-recommended": "r1.8-308" + } +} \ No newline at end of file