Datapack Basics
A guide to setting up your workspace for Cold Sweat's data system and some important data structures
Cold Sweat has several data systems in place that allow developers or modpack creators more granular control over the mod's config settings. These systems provide advanced functionality that is not accessible through the traditional TOML files.
Workspace Setup
Data files for Cold Sweat are stored in data/<yourmod>/cold_sweat/*
where "yourmod" is the ID of your mod. If you are making a traditional datapack, this can be anything.
So far, there are 4 categories of data: item
, block
, world
, and entity
. Each of these are a dedicated folder within the datapack directory. These directories support using sub-directories for organization.
Data-driven JSON configs can also be put in the mod's config folder in the game directory: config/coldsweat/data/*
. These allow users to use the more advanced JSON system without having to make a datapack.
Last updated