Package org.strassburger.lifestealz.util
Class VersionChecker
java.lang.Object
org.strassburger.lifestealz.util.VersionChecker
VersionChecker is a utility class that checks for updates of the LifeStealZ plugin
by querying the Modrinth API for the latest version compatible with the current Minecraft version.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if a new version of the plugin is available.
-
Constructor Details
-
VersionChecker
-
-
Method Details
-
isNewVersionAvailable
public boolean isNewVersionAvailable()Checks if a new version of the plugin is available.- Returns:
- true if a new version is available, false otherwise.
-