Skip to content
generated from CottonMC/FabricStarter

Data-driven key/value storage for Fabric mods

License

Notifications You must be signed in to change notification settings

CottonMC/MCDict

Repository files navigation

MCDict

>> Downloads <<

Drive your data further!

This mod is open source and under a permissive license. As such, it can be included in any modpack on any platform without prior permission. We appreciate hearing about people using our mods, but you do not need to ask to use them. See the LICENSE file for more details.

MCDict adds a data-driven system for loading key-value pairs in Minecraft data packs. They follow a similar format and setup to tags for ease of understanding, and out of the box support blocks, items, fluids, and entity_types. A dict is structured as such:

{
  "replace": false,
  "override": false,
  "values": {
    "minecraft:bricks": 5,
    "minecraft:iron_block": 3
  }
}

The "replace" tag works identical to "replace" in tags; if true, then this dict will delete existing values loaded from other dicts. If the "override" tag is true, then entries from higher-priority dicts will overwrite the values for entries in lower-priority dicts.

Information on registering new dicts will be added when I have time.

About

Data-driven key/value storage for Fabric mods

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages