类 ConfigUtil

java.lang.Object
top.r3944realms.superleadrope.util.file.ConfigUtil

public class ConfigUtil extends Object
The type Config util.
  • 构造器详细资料

    • ConfigUtil

      public ConfigUtil()
  • 方法详细资料

    • createFile

      public static void createFile(String[] children)
      Create file.
      参数:
      children - the children
    • registerConfig

      public static void registerConfig(@NotNull @NotNull net.minecraftforge.fml.ModLoadingContext context, net.minecraftforge.fml.config.ModConfig.Type type, net.minecraftforge.common.ForgeConfigSpec configSpec, String folderName, String fileName)
      Register config.
      参数:
      context - the context
      type - the type
      configSpec - the config spec
      folderName - the folder name
      fileName - the file name