Package etithespirit.orimod
Class OriMod
java.lang.Object
etithespirit.orimod.OriMod
The main class for the entire mod.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clientGameBuildInit
(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent event) Occurs on setup for the client.void
commandInit
(net.minecraftforge.event.RegisterCommandsEvent event) Occurs on setup for the server when registering commands.void
commonInit
(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) Occurs on setup for both the client and server.void
dedicatedServerBuildInit
(net.minecraftforge.fml.event.lifecycle.FMLDedicatedServerSetupEvent event) Occurs on setup for the server.static boolean
Whether or not the forge mod loading cycle has completed.static OriMod
Returns the singleton instance of this mod.void
onDataGenerated
(net.minecraftforge.data.event.GatherDataEvent dataEvt) Occurs on execution of the data generator.void
onModLoadingComplete
(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent evt) Occurs when mod loading has completed.
-
Field Details
-
MODID
hnnnng kernol,,,,, id,,,,- See Also:
-
LOG
public static final org.apache.logging.log4j.Logger LOG
-
-
Constructor Details
-
OriMod
public OriMod()
-
-
Method Details
-
getInstance
Returns the singleton instance of this mod.- Returns:
- The singleton instance of this mod.
-
forgeLoadingComplete
public static boolean forgeLoadingComplete()Whether or not the forge mod loading cycle has completed.- Returns:
- Whether or not the forge mod loading cycle has completed.
-
commonInit
public void commonInit(net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent event) Occurs on setup for both the client and server.- Parameters:
event
- The setup event.
-
clientGameBuildInit
public void clientGameBuildInit(net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent event) Occurs on setup for the client.- Parameters:
event
- The setup event.
-
dedicatedServerBuildInit
public void dedicatedServerBuildInit(net.minecraftforge.fml.event.lifecycle.FMLDedicatedServerSetupEvent event) Occurs on setup for the server.- Parameters:
event
- The setup event.
-
commandInit
public void commandInit(net.minecraftforge.event.RegisterCommandsEvent event) Occurs on setup for the server when registering commands.- Parameters:
event
- The setup event.
-
onDataGenerated
public void onDataGenerated(net.minecraftforge.data.event.GatherDataEvent dataEvt) throws RuntimeException Occurs on execution of the data generator.- Parameters:
dataEvt
- The setup event.- Throws:
RuntimeException
-
onModLoadingComplete
public void onModLoadingComplete(net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent evt) Occurs when mod loading has completed.- Parameters:
evt
- The mod loading event.
-