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<
The newest version!
package mmb.engine.mods;
import mmb.NN;
/**
* Central class of each addon. Runs when the mod is loaded
* @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 */
@NN 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
}