1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-16 23:04:53 +00:00
CC-Tweaked/src/main/resources
Jonathan Coates 1fc0214857
Some redesigning of the settings API (#408)
- The store is now split into two sections:
   - A list of possible options, with some metadata about them.
   - A list of values which have been changed.
 - settings.define can be used to register a new option. We have
   migrated all existing options over to use it. This can be used to
   define a default value, description, and a type the setting must have
   (such as `string` or `boolean).

 - settings.{set,unset,clear,load,store} operate using this value list.
   This means that only values which have been changed are stored to
   disk.
   Furthermore, clearing/unsetting will reset to the /default/ value,
   rather than removing entirely.

 - The set program will now display descriptions.

 - settings.{load,save} now default to `.settings` if no path is given.
2020-04-21 11:37:56 +01:00
..
assets/computercraft Some redesigning of the settings API (#408) 2020-04-21 11:37:56 +01:00
META-INF Merge pull request #553 from SquidDev-CC/ComputerCraft/feature/fancy-printout 2018-06-19 19:44:51 +01:00
mcmod.info Expose a stub "cctweaked" mod 2019-03-30 16:41:45 +00:00
pack.mcmeta Rebranding! 2017-11-15 16:25:10 +00:00
pack.png Attempt to reduce jar size a little 2019-02-14 10:53:18 +00:00