Origin Configs
The format of all data-driven JSON configs for Origins modifiers
Last updated
The format of all data-driven JSON configs for Origins modifiers
Last updated
This page is for the addon mod
Origins can be configured to give the player custom attribute values via the mod. This mod has its own datapack system that works very similarly to Cold Sweat's, but operates independently of Cold Sweat's monolithic datapack loader.
Origins can be customized by creating Origins Modifier files, which store all additional attributes and attribute modifiers that are to be added to the player upon selecting the specified origin.
These files can be wrapped into datapacks:
data/<yourmod>/cold_sweat/origin_modifier/*
or put in the config folder:
config/coldsweat/data/origin_modifier/*
Origins Modifiers have a few custom data structures that should be known first:
The "attributes"
section defines the base values of the player's attributes, overriding their default base values:
The "modifiers" section defines a list of attribute modifiers, which are applied on top of the attributes' base values. These attribute modifiers will be given the name "Origins Attribute" and assigned a random UUID upon creation:
Given this information, we can break down the format for Origin Modifiers as a whole: