1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-17 07:14:51 +00:00
CC-Tweaked/src/main/resources/assets/computercraft
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
..
advancements/recipes Automatically generate impostor recipes 2019-03-16 00:15:31 +00:00
blockstates Replace "cable variant" with a block model 2018-12-27 10:21:57 +00:00
lang Backport 1.15's terminal rendering code (#412) 2020-04-21 10:43:26 +01:00
lua Some redesigning of the settings API (#408) 2020-04-21 11:37:56 +01:00
models Fix turtle texture layout (#350) 2020-01-23 15:08:11 +00:00
recipes Several recipe improvements 2019-03-19 11:59:23 +00:00
textures Backport 1.15's terminal rendering code (#412) 2020-04-21 10:43:26 +01:00