Class MinecraftServer
-
- All Implemented Interfaces:
public final class MinecraftServerRepresentation of a Minecraft server, containing information about its Minecraft-version, release-type, download-url and the java-version.
Griefed
-
-
Field Summary
Fields Modifier and Type Field Description private final StringminecraftVersionprivate final TypereleaseTypeprivate final URLserverUrl
-
Method Summary
Modifier and Type Method Description final StringgetMinecraftVersion()final TypegetReleaseType()final URLgetServerUrl()final Optional<URL>url()Get the URL to the download of this Minecraft-servers JAR-file. final Optional<Byte>javaVersion()Get the Java-version of this Minecraft-server. -
-
Method Detail
-
getMinecraftVersion
final String getMinecraftVersion()
-
getReleaseType
final Type getReleaseType()
-
getServerUrl
final URL getServerUrl()
-
url
final Optional<URL> url()
Get the URL to the download of this Minecraft-servers JAR-file.
- Returns:
URL.
-
javaVersion
final Optional<Byte> javaVersion()
Get the Java-version of this Minecraft-server.
- Returns:
Java version.
-
-
-
-