@Service
public final class VersionMeta
extends java.lang.Object
| Constructor and Description |
|---|
VersionMeta(@NotNull java.io.File minecraftManifest,
@NotNull java.io.File forgeManifest,
@NotNull java.io.File fabricManifest,
@NotNull java.io.File fabricInstallerManifest,
@NotNull java.io.File fabricIntermediariesManifest,
@NotNull java.io.File quiltManifest,
@NotNull java.io.File quiltInstallerManifest,
@NotNull java.io.File legacyFabricGameManifest,
@NotNull java.io.File legacyFabricLoaderManifest,
@NotNull java.io.File legacyFabricInstallerManifest,
@NotNull com.fasterxml.jackson.databind.ObjectMapper injectedObjectMapper,
@NotNull Utilities injectedUtilities,
@NotNull ApplicationProperties injectedApplicationProperties)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull FabricMeta |
fabric()
The QuiltMeta-instance for working with Fabric versions and information about them.
|
@NotNull ForgeMeta |
forge()
The ForgeMeta-instance for working with Forge versions and information about them.
|
@NotNull LegacyFabricMeta |
legacyFabric()
The LegacyFabric-instance for working with Legacy Fabric versions and information about them.
|
@NotNull MinecraftMeta |
minecraft()
The MinecraftMeta instance for working with Minecraft versions and information about them.
|
@NotNull QuiltMeta |
quilt()
The QuiltMeta-instance for working with Quilt versions and information about them.
|
@NotNull VersionMeta |
update()
Update the Minecraft, Forge and Fabric metas.
|
@Autowired
public VersionMeta(@NotNull
@NotNull java.io.File minecraftManifest,
@NotNull
@NotNull java.io.File forgeManifest,
@NotNull
@NotNull java.io.File fabricManifest,
@NotNull
@NotNull java.io.File fabricInstallerManifest,
@NotNull
@NotNull java.io.File fabricIntermediariesManifest,
@NotNull
@NotNull java.io.File quiltManifest,
@NotNull
@NotNull java.io.File quiltInstallerManifest,
@NotNull
@NotNull java.io.File legacyFabricGameManifest,
@NotNull
@NotNull java.io.File legacyFabricLoaderManifest,
@NotNull
@NotNull java.io.File legacyFabricInstallerManifest,
@NotNull
@NotNull com.fasterxml.jackson.databind.ObjectMapper injectedObjectMapper,
@NotNull
@NotNull Utilities injectedUtilities,
@NotNull
@NotNull ApplicationProperties injectedApplicationProperties)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
minecraftManifest - Minecraft manifest file.forgeManifest - Forge manifest file.fabricManifest - Fabric manifest file.fabricIntermediariesManifest - Fabric Intermediary manifest-file.fabricInstallerManifest - Fabric-installer manifest file.quiltManifest - Quilt manifest file.quiltInstallerManifest - Quilt-installer manifest file.injectedObjectMapper - Object mapper-instance for JSON parsing.legacyFabricGameManifest - Fabric Legacy Game manifest file.legacyFabricLoaderManifest - Fabric Legacy Loader manifest file.legacyFabricInstallerManifest - Fabric Legacy Installer manifest file.injectedUtilities - Commonly used utilities across ServerPackCreator.injectedApplicationProperties - ServerPackCreator settings.javax.xml.parsers.ParserConfigurationException - indicates a serious configuration error.java.io.IOException - if any IO errors occur.org.xml.sax.SAXException - if any parse errors occur.@Contract(value=" -> this") @NotNull public @NotNull VersionMeta update() throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException - indicates a serious configuration error.java.io.IOException - if any IO errors occur.org.xml.sax.SAXException - if any parse errors occur.@Contract(pure=true) @NotNull public @NotNull MinecraftMeta minecraft()
MinecraftMeta.@Contract(pure=true) @NotNull public @NotNull FabricMeta fabric()
FabricMeta.@Contract(pure=true) @NotNull public @NotNull ForgeMeta forge()
ForgeMeta.@Contract(pure=true) @NotNull public @NotNull QuiltMeta quilt()
QuiltMeta.@Contract(pure=true) @NotNull public @NotNull LegacyFabricMeta legacyFabric()
LegacyFabricMeta.