An extension of CurseAPI for parsing CurseForge modpack manifests and for performing more Minecraft-specific operations.
All public-facing code is documented with Javadoc and (mostly) tested with JUnit.
Before using CurseAPI-Minecraft, CurseAPIMinecraft#initialize()
should be called so that
CurseAPI-Minecraft can perform any necessary initialization and register itself with CurseAPI.
MCVersion
represents a Minecraft version supported by CurseForge.MCVersion
instances can be retrieved by accessing the constants and methods in theMCVersions
class.MCVersionGroups
containsCurseGameVersionGroup
constants that represent Minecraft version groups.CurseModpack#fromJSON(String)
andCurseModpack#fromJSON(Path)
can be used to parse CurseForge modpack manifest JSONs.CurseModpack#createEmpty()
can be used to create a newCurseModpack
instance.CurseModpack
instances can be converted back to JSONs by callingCurseModpack#toJSON()
orCurseModpack#toJSON(Path)
.
To use CurseAPI-Minecraft with CurseAPI, add this to your dependencies:
api "com.github.TheRandomLabs:CurseAPI-Minecraft:master-SNAPSHOT"