AgentIntroduction

Cauldron Agent

This Documentation is correct for version 0.5.1 of CauldronAgent

What does this do?

CauldronAgent provides an internal REST API that acts as a Minecraft Launcher and can manage vanilla profiles and maintain and sync / update modded profiles. Paired with an external API, it allows for profiles to be synced and shared.

License Information

This project is licensed under GPL 3.0 so please make sure that your project follows the license guidelines.

Setup

To Install the package, run the following command

Using CauldronEngine

Cauldron Engine is split into multiple exports. They are listed below.

Controllers

NameImportDescription
Launcher@jackcooperdev/cauldronengine/launcherManages the launching of a Minecraft Instance
Manifest@jackcooperdev/cauldronengine/manifestAcquires Relevant Data for launch
Assets@jackcooperdev/cauldronengine/assetsManages Asset Download
JVM@jackcooperdev/cauldronengine/jvmManages JVM Download
Libraries@jackcooperdev/cauldronengine/librariesManages Library Download
Queue Management@jackcooperdev/cauldronengine/queueManages Download Queues

Tools

NameImportDescription
Logger@jackcooperdev/cauldronengine/loggerLogging
Compatability@jackcooperdev/cauldronengine/compatTool to Ensure Cross-Platform Compatability
File Tools@jackcooperdev/cauldronengine/fileToolsSet of Tools to download / verify files
Session Manager@jackcooperdev/cauldronengine/sessionManages Minecraft Sessions
Check Connection@jackcooperdev/cauldronengine/onlineChecks if Client is Online
Auth Verifier@jackcooperdev/cauldronengine/authCheck Access Token Validity
Launch File Builder@jackcooperdev/cauldronengine/launchBuildBuilds launch File

Plugins

Plugins are used to allow for other loaders to be used for more information go here.

Information

For information on how a launcher works, this blog post by Ryan Cao explains it brilliantly. Inside a Minecraft Launcher

Wiki.vg was a great resource that provided lots of information on how various parts of Minecraft works. It has been merged into Minecraft Wiki and can be viewed here