
mmb.engine.mods.ModInfo Maven / Gradle / Ivy
/**
*
*/
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 - 2025 Weber Informatics LLC | Privacy Policy