Tschipcraft / dynamiclights

Burning entities/items such as torches or lanterns emit light!
https://tschipcraft.ddns.net/dynamiclights.html
Other
23 stars 1 forks source link

Documentation for Mod Version's Config file #64

Closed Zezacle closed 2 hours ago

Zezacle commented 3 hours ago

Is your suggested enhancement related to a problem? Please describe.

The mod version's config file has multiple options, but they're all strings with no documentation (that I could find) on what valid values are. I want to disable the sound fx, but the option is "WORLD", so idk if I need to change it to "NONE", "DISABLED", "FALSE", etc.

Describe the solution you'd like

A brief wiki page breaking down the config of the mod version would be nice, as most of the wiki is datapack focused.

Describe alternatives you've considered

No response

Additional context

No response

Tschipcraft commented 2 hours ago

The valid values are WORLD, YES, NO. Not sure why I didn't go with true/false tbh, but that's how it is now. Quick reminder that you need to have MidnightLib installed for the config file to work

Zezacle commented 2 hours ago

Thanks for the quick reply. How does WORLD differ from YES?

Tschipcraft commented 2 hours ago

WORLD preserves world-specific options. For example, if you changed a setting to false using the TUI of the wrapped data pack, it will remain false. YES always sets the setting to true and locks the entry in the TUI from being changed.