mmb.engine.mods.ModInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world.
THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<
The newest version!
/**
*
*/
package mmb.engine.mods;
import mmb.NN;
/**
* Contains information about a mod
* @author oskar
*/
public class ModInfo {
/** The addon central, if the mod is working */
@NN public final AddonCentral instance;
/** The mod information created by the mod */
@NN public final ModMetadata meta;
/** Current state of the mod */
@NN public ModState state = ModState.ENABLE;
/**
* Creates a mod
* @param instance addon central
*/
public ModInfo(AddonCentral instance) {
this.instance = instance;
this.meta = instance.info();
}
}