Class ModConfig


  • public class ModConfig
    extends java.lang.Object
    • Field Detail

      • fileName

        private final java.lang.String fileName
      • configData

        private com.electronwill.nightconfig.core.CommentedConfig configData
      • saveHandler

        private java.util.concurrent.Callable<java.lang.Void> saveHandler
    • Method Detail

      • defaultConfigName

        private static java.lang.String defaultConfigName​(ModConfig.Type type,
                                                          java.lang.String modId)
      • getFileName

        public java.lang.String getFileName()
      • getModId

        public java.lang.String getModId()
      • getConfigData

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

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

        public void save()
      • getFullPath

        public java.nio.file.Path getFullPath()