Class ModConfig

java.lang.Object
net.minecraftforge.fml.config.ModConfig

public class ModConfig extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • defaultConfigName

      private static String defaultConfigName(ModConfig.Type type, String modId)
    • getType

      public ModConfig.Type getType()
    • getFileName

      public String getFileName()
    • getHandler

      public ConfigFileTypeHandler getHandler()
    • getSpec

      public <T extends IConfigSpec<T>> IConfigSpec<T> getSpec()
    • getModId

      public String getModId()
    • getConfigData

      public com.electronwill.nightconfig.core.CommentedConfig getConfigData()
    • setConfigData

      void setConfigData(com.electronwill.nightconfig.core.CommentedConfig configData)
    • fireEvent

      void fireEvent(IConfigEvent configEvent)
    • save

      public void save()
    • getFullPath

      public Path getFullPath()
    • acceptSyncedConfig

      public void acceptSyncedConfig(byte[] bytes)