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 classForgeConfig.ClientClient specific configuration - only loaded clientside from forge-client.tomlstatic classForgeConfig.CommonGeneral configuration that doesn't need to be synchronized but needs to be available before server startupstatic classForgeConfig.Server
-
Field Summary
Fields Modifier and Type Field Description static ForgeConfig.ClientCLIENT(package private) static ForgeConfigSpecclientSpecstatic ForgeConfig.CommonCOMMON(package private) static ForgeConfigSpeccommonSpecstatic ForgeConfig.ServerSERVER(package private) static ForgeConfigSpecserverSpec
-
Constructor Summary
Constructors Constructor Description ForgeConfig()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidonFileChange(ModConfig.Reloading configEvent)static voidonLoad(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)
-
-