Closed Dearliet closed 1 month ago
The default bone configs should define the default display settings for all variants. Other variants can then override these settings as needed. This approach is analogous to how textures are managed, where the default variant establishes the base settings, and other variants apply adjustments through overrides.
Actually, this is incorrect. The default variant does not set the base settings for textures; it only has an empty texture swaps map. Likewise, the display configs should be independent for each variant, and the default variant should not act as a base config for others to override. Therefore, config_overrides
should be renamed to configs
.
The default variant has an empty texture map because it is a special case. It's the "default" and that's it's entire role. So therefor it will remain the default mode.
Closing this because of variant overhaul.
Currently, the default variant model is included within bone nodes as
model
. The node config for the default variant should similarly be embedded underconfig
.The default bone configs should define the default display settings for all variants. Other variants can then override these settings as needed. This approach is analogous to how textures are managed, where the default variant establishes the base settings, and other variants apply adjustments through overrides.
For example, in the provided structure,
new_variant
would have the bone with bothenchanted=true
(from the default config) andglowing=true
(overridden in the variant config).