promotional bannermobile promotional banner

Hocon Resource Loader

Loading packs' files ending with `.hocon` as hocon format

Code block format is broken on CF. Please read on Modrinth or Github

This mod is for using HOCON for resource packs or data packs
HOCON's syntax is more flexible and supports advanced syntax such as variables and include, which can reduce boilerplate code.
The mod will load any file in packs ends with .hocon with HOCON parser and trick the game to think it's a json file.
So that it shouldn't conflict with any packs that already use the json format.

Advantage of HOCON

  • include url, file (Can be used for resource/data pack config), minecraft resource by identifier
  • With include, you can include the origin json file and modify the value instead of edit the whole file. Far more convenient than the JsonPatch
  • See more on https://github.com/lightbend/config/blob/main/HOCON.md

Examples

The result of the resource pack at https://github.com/SettingDust/HoconResourceLoader/tree/main/mod/run/resourcepacks/test-resources

Credit

Icon from https://www.flaticon.com/free-icon/folder_3767084#

The Hocon Resource Loader Team

profile avatar
  • 12
    Followers
  • 27
    Projects
  • 20.8M
    Downloads

More from settingdustView all

  • Preloading Tricks project image

    Preloading Tricks

    • 947.3K
    • Mods

    A developer tool for early loader access, class transformation, and preloading hacks.

    • 947.3K
    • May 24, 2026
    • Mods
  • Quest Giver project image

    Quest Giver

    • 2.6M
    • Mods

    Quest Giver provides the option for adding a data-driven quest system for modders and modpack makers.

    • 2.6M
    • May 22, 2026
    • Mods
  • KLF x KFF project image

    KLF x KFF

    • 569
    • Mods

    Make KFF works with KLF on 1.20.1 Forge

    • 569
    • May 20, 2026
    • Mods
  • Kiwi 🥝 (Fabric) project image

    Kiwi 🥝 (Fabric)

    • 12.5M
    • Mods

    Minecraft modding library

    • 12.5M
    • May 18, 2026
    • Mods
  • Preloading Tricks project image

    Preloading Tricks

    • 947.3K
    • Mods

    A developer tool for early loader access, class transformation, and preloading hacks.

    • 947.3K
    • May 24, 2026
    • Mods
  • Quest Giver project image

    Quest Giver

    • 2.6M
    • Mods

    Quest Giver provides the option for adding a data-driven quest system for modders and modpack makers.

    • 2.6M
    • May 22, 2026
    • Mods
  • KLF x KFF project image

    KLF x KFF

    • 569
    • Mods

    Make KFF works with KLF on 1.20.1 Forge

    • 569
    • May 20, 2026
    • Mods
  • Kiwi 🥝 (Fabric) project image

    Kiwi 🥝 (Fabric)

    • 12.5M
    • Mods

    Minecraft modding library

    • 12.5M
    • May 18, 2026
    • Mods