Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Initial VersionChecker Support (to be tested)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Aug 23, 2014
1 parent 533bead commit 87ac584
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
Expand Up @@ -6,10 +6,7 @@
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.event.*;
import cpw.mods.fml.common.registry.GameRegistry;
import iguanaman.iguanatweakstconstruct.claybuckets.IguanaItems;
import iguanaman.iguanatweakstconstruct.commands.CommandDumpOredict;
Expand Down Expand Up @@ -130,6 +127,9 @@ public void postInit(FMLPostInitializationEvent event) {
FMLCommonHandler.instance().bus().register(new OldToolConversionHandler());

GameRegistry.addRecipe(new ToolUpdateRecipe());

// versionchecker support
FMLInterModComms.sendRuntimeMessage(Reference.MOD_ID, "VersionChecker", "addVersionCheck", "https://raw.githubusercontent.com/bonii-xx/IguanaTweaksTConstruct/devel/version.json");
}

@EventHandler
Expand Down
14 changes: 14 additions & 0 deletions version.json
@@ -0,0 +1,14 @@
{
"versionList": [
{
"mcVersion":"1.7.10",
"modVersion":"2.0.1B2",
"changeLog": [
"See Minecraft Forum Thread"
],
"updateURL":"http://minecraft.curseforge.com/mc-mods/223248-iguanas-tinker-tweaks/files/2211647/download",
"isDirectLink":"true",
"newFileName":""
}
]
}

0 comments on commit 87ac584

Please sign in to comment.