类 ConfigUtil
java.lang.Object
top.r3944realms.superleadrope.util.file.ConfigUtil
The type Config util.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidcreateFile(String[] children) Create file.static voidregisterConfig(@NotNull net.minecraftforge.fml.ModLoadingContext context, net.minecraftforge.fml.config.ModConfig.Type type, net.minecraftforge.common.ForgeConfigSpec configSpec, String folderName, String fileName) Register config.
-
构造器详细资料
-
ConfigUtil
public ConfigUtil()
-
-
方法详细资料
-
createFile
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 contexttype- the typeconfigSpec- the config specfolderName- the folder namefileName- the file name
-