rawConfig

fun rawConfig(id: String)

Configures the id of this config file in the format namespace:name.

Examples:

  • rawConfig("my_addon:my_cfg") ->configs/my_addon/my_cfg.yml

  • rawConfig("config") -> configs/config.yml`


fun rawConfig(id: ResourceLocation)

Configures the id of this config file in the format namespace:name.

Examples:

  • rawConfig(ResourceLocation("my_addon:my_cfg")) ->configs/my_addon/my_cfg.yml

  • rawConfig(ResourceLocation("config")) -> configs/config.yml`