Package org.cyclops.cyclopscore.tracking
Class Versions
java.lang.Object
org.cyclops.cyclopscore.tracking.Versions
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkAll()
Deprecated.Check the versions for all registered mods.protected static List<org.apache.commons.lang3.tuple.Triple<ModBase,
IModVersion, String>> Deprecated.void
onTick
(net.minecraftforge.event.TickEvent.PlayerTickEvent event) Deprecated.When a player tick event is received.static void
registerMod
(ModBase mod, IModVersion modVersion, String versionUrl) Deprecated.static void
setForgeVersionInfo
(ModBase mod, IModVersion modVersion, String version, String info, String updateUrl) Deprecated.static void
setVersionInfo
(ModBase mod, IModVersion modVersion, String version, String info, String updateUrl) Deprecated.
-
Constructor Details
-
Versions
public Versions()Deprecated.
-
-
Method Details
-
registerMod
Deprecated. -
getVersionMods
protected static List<org.apache.commons.lang3.tuple.Triple<ModBase,IModVersion, getVersionMods()String>> 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.
-