public final class MinecraftClient
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.Optional<java.util.List<ForgeInstance>> |
forge()
Get the
ForgeInstance for this client, wrapped in an Optional. |
@NotNull MinecraftServer |
server()
The
MinecraftServer for this Minecraft version, wrapped in an Optional. |
@NotNull Type |
type()
Release-type.
|
@NotNull java.net.URL |
url()
The
URL to this versions manifest. |
@NotNull java.lang.String |
version()
The Minecraft version of this client.
|
@Contract(pure=true) @NotNull public @NotNull java.lang.String version()
@Contract(pure=true) @NotNull public @NotNull Type type()
Type.RELEASE or Type.SNAPSHOT.Type.RELEASE or Type.SNAPSHOT.@Contract(pure=true) @NotNull public @NotNull java.net.URL url()
URL to this versions manifest.@Contract(pure=true) @NotNull public @NotNull MinecraftServer server()
MinecraftServer for this Minecraft version, wrapped in an Optional.Optional@NotNull public @NotNull java.util.Optional<java.util.List<ForgeInstance>> forge()
ForgeInstance for this client, wrapped in an Optional.Optional.