public class VanillaVersion
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VanillaVersion.VanillaVersionBuilder
A builder for building a vanilla version like
FlowUpdater.FlowUpdaterBuilder |
Modifier and Type | Field and Description |
---|---|
static VanillaVersion |
NULL_VERSION
Default version.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AssetDownloadable> |
getAnotherAssets()
The list of custom assets.
|
java.util.List<Downloadable> |
getAnotherLibraries()
The list of custom libraries.
|
AssetIndex |
getCustomAssetIndex()
The custom asset index.
|
java.lang.String |
getJsonURL()
Get the url of the JSON version.
|
MCP |
getMCP()
Get the MCP object of the version.
|
com.google.gson.JsonObject |
getMinecraftAssetIndex()
Get the JSON object representing Minecraft's asset index.
|
com.google.gson.JsonObject |
getMinecraftClient()
Get the JSON object representing Minecraft's client.
|
com.google.gson.JsonArray |
getMinecraftLibrariesJson()
Get the JSON array representing all Minecraft's libraries.
|
@NotNull java.lang.String |
getName()
Get the name of the version.
|
boolean |
isSnapshot()
Is the current version a snapshot?
|
public static final VanillaVersion NULL_VERSION
public com.google.gson.JsonArray getMinecraftLibrariesJson()
public com.google.gson.JsonObject getMinecraftClient()
public com.google.gson.JsonObject getMinecraftAssetIndex()
@NotNull public @NotNull java.lang.String getName()
public MCP getMCP()
public boolean isSnapshot()
public AssetIndex getCustomAssetIndex()
public java.util.List<AssetDownloadable> getAnotherAssets()
public java.util.List<Downloadable> getAnotherLibraries()
public java.lang.String getJsonURL()