emo / me.eater.emo

Package me.eater.emo

Types

Account

data class Account

Class to hold account data received from Mojang via Authentication

Command

interface Command

Command abstraction

EmoContext

class EmoContext

Data object which is used in the installer workflow, carries temporary data used in the installer use EmoInstance.getEmoContextForModpack for initialisation. At minimal only minecraftVersion and installLocation are needed.

EmoEnvironment

class EmoEnvironment

Holds checks and data about the current environment, which is used for selecting the correct libraries and natives

EmoInstance

class EmoInstance

EmoInstance

ImportCommand

class ImportCommand : Command

Command to import a profile and install a new minecraft profile based on that

InitCommand

class InitCommand : Command

Initialise a new Minecraft install by versions

LoginCommand

class LoginCommand : Command

Command for logging in

ModpackCache

data class ModpackCache

Data object containing a modpack and a indentifier to the repository it originates from

ModpackCollectionCache

data class ModpackCollectionCache

Data object which holds cache of modpacks

RepositoryCache

data class RepositoryCache

Repository cache

StartCommand

class StartCommand : Command

Start Minecraft from a profile directory

Target

enum class Target

Target, either Server or Client

VersionSelector

class VersionSelector

Version selector class, used to wrap a static or dynamic version

Functions

getInstallWorkflow

fun getInstallWorkflow(ctx: EmoContext): Workflow<EmoContext>

Get workflow used to install a new Minecraft profile

main

fun main(args: Array<String>): Unit

Main entry via CLI

runInstallJob

fun runInstallJob(ctx: EmoContext): Unit

Run install job and print all state changes to STDOUT, will block