* Settings rework and encapsulation
* Settings overhaul 3
Move everything in the new system to a new API package
Require rules using the new system to specify descriptions in their translation files
Implement temporary system on top of current translations to allow that to work properly
* Fix getRules fallback
* Final touches to settings refactor
* Mention that set shouldn't throw and remove comment
* Change translation keys to unify with translation PR
* Deprecate printAllRulesToLog to allow using any PrintStream
* Remove restriction of CarpetRules being Comparable
And fix overreaction in a deprecation message
* Bring back user input to rule observers
* Make Validator deprecation warning not spam on use
* Remove unneeded abstract methods in CarpetRule already inherited from CarpetRule
They literally do nothing, don't even force them to be implemented, and may be confusing as to why they're there or as if they are needed to be implemented
* Fix legacy SettingsManager field not being assigned correctly
* Finish fixing conflicts from future merge
* Actually fix remaining conflicts from future merge (missing imports)
* Import the newer rule in SettingsManager
* Refactor Validators
* Don't spam deprecation warnings on custom managers
* Get out the var
* Fix missing warning in old rule observers
* Update src/main/java/carpet/api/settings/Rule.java
* Remove `@ApiStatus.Experimental` annotations
* Fix incorrect `@deprecated` javadoc tags
By removing them given the class is deprecated anyway and else there's too much noise
* Add missing static import
* Remove TypedField and use a regular field
I liked that class tbh, but it's true that it wasn't really needed
* Move `field` assignment out of for removal
* Fix not following contract of `type()` returning boxed value
Previously handled by TypedField
* Fix few incorrect translation keys
* Remove resaving of comments when saving config files
Comments ignoring is still a thing when reading, so `locked` configs for example will keep comments
* Condense rule load messages in one
* Only print loaded settings message when at least one setting was changed
* Fix legacy validator detector
* Tweak and add more context to response to invalid values
* Fix strict validator not actually erroring on invalid input
* Change how app store types work, allow proper app and library installation
* Add node for resources in dependencies and docs
* Fix NPE without `type`
* Fix docs trying to change location of app type resource
* Separate libraries and apps and add trash for them
* Update docs
* Create trash directory if it doesn't exist
This reverts commit e98adb77a52d1e274ec320e0cafab34b24c1c738.
* First attempt at creating download system...
* Last try, I had uncommitted changes which I forgot to add.
If it fails now i swear imma delete my fork of fabric carpet.
* OK, this is the last chance. I have checked and double checked, this should not fail.
Todo make them more detailed, Im not the best person to do that tbh...
* Towards a suggestion builder
(Also committing stuff in ScriptDownloader incase it crashes)
* Finished first theoretically functional draft of suggestion builder
* improving suggestion building with actual github api
* Collapsing identical error messages
* Got suggestions to work!
Now gotta get the actual file to save to disk properly
* replacing whitespace with url whitespace to make it read form 'creativ building tools' etc
* Successfully downloaded script into folder location!
* only clients can access global scripts folder, so don't want to cause error message
* Compacting code and updating docs
* Fixed getting folders from file names