public final class MinecraftServer
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.Optional<java.lang.Byte> |
javaVersion()
Get the Java-version of this Minecraft-server.
|
@NotNull Type |
type()
Get the release-type of this Minecraft-server.
|
@NotNull java.util.Optional<java.net.URL> |
url()
Get the
URL to the download of this Minecraft-servers JAR-file. |
@NotNull java.lang.String |
version()
Get the Minecraft-version of this server.
|
@Contract(pure=true) @NotNull public @NotNull java.lang.String version()
@Contract(pure=true) @NotNull public @NotNull Type type()
Type.RELEASE or
Type.SNAPSHOT.@NotNull public @NotNull java.util.Optional<java.net.URL> url()
URL to the download of this Minecraft-servers JAR-file.@NotNull public @NotNull java.util.Optional<java.lang.Byte> javaVersion()