V2 update checker API. No more manual bumps!

This commit is contained in:
FalsePattern committed 2023-01-17 16:54:04 +01:00
1 parent ce28e3e571
commit 6edb48be51
5 files changed
+289 -54

No files matched your search

@@ -43,7 +43,7 @@ import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
guiFactory = Tags.GROUPNAME + ".internal.config.LibraryGuiFactory",
acceptableRemoteVersions = "*")
public class FalsePatternLib {
public static final String UPDATE_URL = "https://falsepattern.com/mc/versions.json";
public static final String UPDATE_URL = "https://falsepattern.com/mc/api/v2/versions.json";
public static final SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(Tags.MODID);
@SidedProxy(clientSide = Tags.GROUPNAME + ".internal.proxy.ClientProxy",