All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Hocon Resource Loader

Hocon Resource Loader

by settingdust • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

Need to enable in pack.mcmeta lie below:

{
    "pack": {
        "pack_format": 15,
        "description": {
            "translate": "settingsun.pack",
            "fallback": "Assets of SettingSun"
        },
        "supported_formats": [15, 22]
    },
    "hoconresourceloader" : {
        "enabled": true
    }
}

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

How to Install Hocon Resource Loader (Mod)

Hocon Resource Loader by settingdust is verified for Fabric, Forge, Quilt across Minecraft versions 1.20, 1.20.1, 1.21 (latest release: 0.5.0, file size: 295 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.21) and platform (Fabric, Forge, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Quilt.
  3. Move the downloaded Hocon Resource Loader file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21
Fabric
last yr. 1
1.20.x
Fabric Forge Quilt
last yr. 1
1.20.x
Fabric Forge Quilt
last yr. 1
1.20.x
Fabric Forge Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
1.20.x
Fabric Quilt
last yr. 1
[0.5.0] 0.5.0 by settingdust on Jun 19, 2024
Download
### :recycle: Refactors
[0.4.0] 0.4.0 by settingdust on Apr 17, 2024
Download
### :boom: BREAKING CHANGES

require enable in pack meta for better performance


### :sparkles: New Features
[0.3.0] 0.3.0 by settingdust on Apr 16, 2024
Download
### :bug: Bug Fixes
[0.2.7] 0.2.7 by settingdust on Apr 16, 2024
Download
### :sparkles: New Features

### :wrench: Chores
[0.2.6] 0.2.6 by settingdust on Feb 05, 2024
Download
### :sparkles: New Features

### :wrench: Chores
[0.2.5] 0.2.5 by settingdust on Feb 03, 2024
Download
### :bug: Bug Fixes
[0.2.4] 0.2.4 by settingdust on Jan 19, 2024
Download
### :wrench: Chores
[0.2.3] 0.2.3 by settingdust on Jan 17, 2024
Download
### :sparkles: New Features
[0.2.2] 0.2.2 by settingdust on Jan 17, 2024
Download
### :bug: Bug Fixes

### :wrench: Chores
[0.2.1] 0.2.1 by settingdust on Jan 17, 2024
Download
### :bug: Bug Fixes
[0.2.0] 0.2.0 by settingdust on Jan 17, 2024
Download
### :sparkles: New Features
[0.1.1] 0.1.1 by settingdust on Jan 17, 2024
Download
### :sparkles: New Features
[0.1.0] 0.1.0 by settingdust on Jan 17, 2024
Download
### :sparkles: New Features

### :bug: Bug Fixes

### :wrench: Chores
Hocon Resource Loader Icon
Download Hocon Resource Loader
Select game version
Select platform