Class Versions

java.lang.Object
org.cyclops.cyclopscore.tracking.Versions

@Deprecated public class Versions extends Object
Deprecated.
Use Forge update files instead: https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
Version checking service. This will check for a regular text file at the given url for each mod. This file must conform to the following format: [version] [version info] [update url]
  • Constructor Details

    • Versions

      public Versions()
      Deprecated.
  • Method Details

    • registerMod

      public static void registerMod(ModBase mod, IModVersion modVersion, String versionUrl)
      Deprecated.
    • getVersionMods

      protected static List<org.apache.commons.lang3.tuple.Triple<ModBase,IModVersion,String>> getVersionMods()
      Deprecated.
    • checkAll

      public static void checkAll()
      Deprecated.
      Check the versions for all registered mods. This should and can only be called once.
    • setVersionInfo

      public static void setVersionInfo(ModBase mod, IModVersion modVersion, String version, String info, String updateUrl)
      Deprecated.
    • setForgeVersionInfo

      public static void setForgeVersionInfo(ModBase mod, IModVersion modVersion, String version, String info, String updateUrl)
      Deprecated.
    • onTick

      public void onTick(net.minecraftforge.event.TickEvent.PlayerTickEvent event)
      Deprecated.
      When a player tick event is received.
      Parameters:
      event - The received event.