Package com.therandomlabs.randompatches
Class RandomPatches
- java.lang.Object
-
- com.therandomlabs.randompatches.RandomPatches
-
public final class RandomPatches extends Object
The main class for RandomPatches.
-
-
Constructor Summary
Constructors Constructor Description RandomPatches()Constructs aRandomPatchesinstance.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RPConfigconfig()Returns the RandomPatches configuration.static voidregisterCommands(net.minecraftforge.event.RegisterCommandsEvent event)static voidreloadConfig()Reloads the RandomPatches configuration from disk.
-
-
-
Field Detail
-
MOD_ID
public static final String MOD_ID
The RandomPatches mod ID.- See Also:
- Constant Field Values
-
logger
public static final org.apache.logging.log4j.Logger logger
The RandomPatches logger. This should only be used by RandomPatches.
-
-
Constructor Detail
-
RandomPatches
public RandomPatches()
Constructs aRandomPatchesinstance.
-
-
Method Detail
-
registerCommands
public static void registerCommands(net.minecraftforge.event.RegisterCommandsEvent event)
-
config
public static RPConfig config()
Returns the RandomPatches configuration.- Returns:
- an
RPConfigobject.
-
reloadConfig
public static void reloadConfig()
Reloads the RandomPatches configuration from disk.
-
-