public class EnchantmentAction extends ConfigurableTypeAction<EnchantmentConfig>
EnchantmentConfig.ConfigurableTypeAction| Constructor and Description |
|---|
EnchantmentAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
postRun(EnchantmentConfig eConfig,
net.minecraftforge.common.config.Configuration config)
Logic to register the eConfig target.
|
void |
preRun(EnchantmentConfig eConfig,
net.minecraftforge.common.config.Configuration config,
boolean startup)
Logic that constructs the eConfig from for example a config file.
|
commonRun, onSkipRegistrationpublic void preRun(EnchantmentConfig eConfig, net.minecraftforge.common.config.Configuration config, boolean startup)
ConfigurableTypeActionpreRun in class ConfigurableTypeAction<EnchantmentConfig>eConfig - configuration holder.config - configuration from the config file.startup - If this is currently being run at the mod startup.public void postRun(EnchantmentConfig eConfig, net.minecraftforge.common.config.Configuration config)
ConfigurableTypeActionpostRun in class ConfigurableTypeAction<EnchantmentConfig>eConfig - configuration holder.config - configuration from the config file.