altrisi 0a972d6c56 Settings rework and encapsulation (#1330)
* 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
2022-06-27 13:12:15 +02:00
2021-11-16 20:27:38 +01:00
2022-06-15 22:30:25 +02:00
2020-06-20 08:44:54 -03:00
2020-03-25 00:32:00 -03:00
2020-04-29 00:48:02 -03:00

Fabric Carpet

Development Builds CurseForge downloads GitHub downloads GitHub contributors Discord

Cause all carpets are made of fabric?
This is the Fabric version of Carpet Mod, for Minecraft 1.14.X, 1.15.X, 1.16.X and above.

Carpet Mod is a mod for vanilla Minecraft that allows you to take full control of what matters from a technical perspective of the game.

Carpet mod ecosystem

For core carpet functionality, this is the right place. Check available downloads on the release page

carpet-extra

Check carpet-extra add-on mod for more whacky and crazy features, including autocrafting, block-placing dispensers, and even chicken-shearing!

auto crafting table

Due to compatibility issues with vanilla and other mods, download auto crafting table by Skyrising as a separate add-on to carpet

scarpet app store

If you want to browse or contribute to the scarpet app store check available apps, go here, its free!

quick-carpet

Have problems with the recent snapshot or someone is slacking with releasing the base carpet mod, but you need some basic carpet functionality, check the minimal build of quick-carpet. It hopefully works just fine. You will not be able to add any extensions or use scarpet apps on this one though.

Other community-based extensions to carpet

Here is a list of other carpet extensions created by the community.

Everybody can create your own carpet features or extend scarpet language with some new API, by creating a carpet extension using this carpet extension mod template.

How? Hwat?

Follow instructions for all other fabric mods in https://fabricmc.net/use/ and dump carpet...jar in mods folder along with other compatible mods.

See the mod showcase on youtube for an explanation of every setting and command, and check the List of all currently available settings on the wiki for an updated list of every setting.

Carpet Mod Settings

See List of all currently available settings on the wiki

For previous Minecraft versions: 1.13 check gnembon/carpetmod and for 1.12 check gnembon/carpetmod112.

S
Description
No description provided
Readme MIT
11 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 96.1%
Python 3.8%