Package net.minecraftforge.common
Class ForgeConfig
- java.lang.Object
-
- net.minecraftforge.common.ForgeConfig
-
public class ForgeConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForgeConfig.Client
Client specific configuration - only loaded clientside from forge-client.tomlstatic class
ForgeConfig.Common
General configuration that doesn't need to be synchronized but needs to be available before server startupstatic class
ForgeConfig.Server
-
Field Summary
Fields Modifier and Type Field Description static ForgeConfig.Client
CLIENT
(package private) static ForgeConfigSpec
clientSpec
static ForgeConfig.Common
COMMON
(package private) static ForgeConfigSpec
commonSpec
static ForgeConfig.Server
SERVER
(package private) static ForgeConfigSpec
serverSpec
-
Constructor Summary
Constructors Constructor Description ForgeConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
onFileChange(ModConfig.Reloading configEvent)
static void
onLoad(ModConfig.Loading configEvent)
-
-
-
Field Detail
-
clientSpec
static final ForgeConfigSpec clientSpec
-
CLIENT
public static final ForgeConfig.Client CLIENT
-
commonSpec
static final ForgeConfigSpec commonSpec
-
COMMON
public static final ForgeConfig.Common COMMON
-
serverSpec
static final ForgeConfigSpec serverSpec
-
SERVER
public static final ForgeConfig.Server SERVER
-
-
Method Detail
-
onLoad
public static void onLoad(ModConfig.Loading configEvent)
-
onFileChange
public static void onFileChange(ModConfig.Reloading configEvent)
-
-