All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.engine.mods.ModInfo Maven / Gradle / Ivy

Go to download

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();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy