public class MinecraftClientMeta
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
MinecraftClientMeta(java.io.File minecraftManifest,
ForgeMeta injectedForgeMeta)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MinecraftClient |
latestRelease()
Get the latest Minecraft
Type.RELEASE as a MinecraftClient. |
protected MinecraftClient |
latestSnapshot()
Get the latest Minecraft
Type.SNAPSHOT as a MinecraftClient. |
protected java.util.HashMap<java.lang.String,MinecraftClient> |
meta()
Get the
MinecraftClient meta.key: String Minecraft versionvalue: MinecraftClient for said Minecraft version |
protected java.util.List<MinecraftClient> |
releases()
Get a list of
MinecraftClient of the Type.RELEASE. |
protected java.util.List<MinecraftClient> |
snapshots()
Get a list of
MinecraftClient of the Type.SNAPSHOT. |
protected MinecraftClientMeta |
update()
Update the meta information.
|
protected MinecraftClientMeta(java.io.File minecraftManifest,
ForgeMeta injectedForgeMeta)
injectedForgeMeta - ForgeMeta to acquire Forge instances for this MinecraftClient version.minecraftManifest - File Minecraft manifest file.protected MinecraftClientMeta update() throws java.io.IOException
MinecraftClientMetajava.io.IOException - if the manifest could not be read.protected java.util.List<MinecraftClient> releases()
MinecraftClient of the Type.RELEASE.MinecraftClient-list of the Type.RELEASE.protected java.util.List<MinecraftClient> snapshots()
MinecraftClient of the Type.SNAPSHOT.MinecraftClient-list of the Type.SNAPSHOT.protected MinecraftClient latestRelease()
Type.RELEASE as a MinecraftClient.MinecraftClient Type.RELEASE as a MinecraftClientprotected MinecraftClient latestSnapshot()
Type.SNAPSHOT as a MinecraftClient.MinecraftClient Type.SNAPSHOT as a MinecraftClientprotected java.util.HashMap<java.lang.String,MinecraftClient> meta()
MinecraftClient meta.String Minecraft versionMinecraftClient for said Minecraft versionHashMap containing the MinecraftClientMeta.