Class DoubleCartEntry
java.lang.Object
com.github.liachmodded.doublecart.DoubleCartEntry
- All Implemented Interfaces:
net.fabricmc.api.ModInitializer
public final class DoubleCartEntry extends Object implements net.fabricmc.api.ModInitializer
The main entrypoint for the mod.
-
Field Summary
Fields Modifier and Type Field Description static String
ID
The mod's namespace or id.static DoubleCartEntry
INSTANCE
The mod's instance. -
Method Summary
Modifier and Type Method Description static Identifier
id(String name)
void
onInitialize()
Performs initialization logic.
-
Field Details
-
INSTANCE
The mod's instance. -
ID
The mod's namespace or id.- See Also:
- Constant Field Values
-
-
Method Details
-
id
- Parameters:
name
- the name for the identifier- Returns:
- the created identifier
-
onInitialize
public void onInitialize()Performs initialization logic.This method is called before most of the game code.
- Specified by:
onInitialize
in interfacenet.fabricmc.api.ModInitializer
-