mmb.engine.mods.AddonCentral 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<
package mmb.engine.mods;
import org.checkerframework.checker.nullness.qual.NonNull;
/**
* Central class of each addon
* @author oskar
* Interface should be implemented by classes only
* Class must have implicit or explicit constructor with no inputs
* Class should set its public static variable which contains its instance
*/
public interface AddonCentral {
/** @return a ModMetadata object with mod information */
@NonNull ModMetadata info();
/** Place your init and translation code here */
void firstOpen(); //first open
/** Place an init call to your blocks/items class here and create content */
void makeContent(); //Make content for addon
/** Place an init call to your recipes class here and integrate with other mods */
void integrationModules(); //integration modules
}