EngineIntroduction

Cauldron Engine

This Documentation is correct for version 0.5.4 of CauldronEngine

What does this do?

Cauldron Engine is a Node.js based minecraft launcher. It handles downloading and booting Minecraft Instances. It supports all vanilla versions of minecraft. Additionally, there is support for plugins where additional loaders (such as forge) can be booted.

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

npm i @jackcooperdev/cauldronengine

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