Commit Graph
385 Commits
Author SHA1 Message Date
gnembon c7d506675e 23w03a 2023-01-18 22:11:19 +01:00
altrisi 2b95a878ad Remove now fixed flatWorldStructureSpawning rule and cleanup some unused mixins 2023-01-18 14:41:46 +01:00
gnembon bd5dfdbf9f refactor limit access to built-in registries 2023-01-18 04:07:55 +01:00
altrisi 8a3c844b5c Automate version filling in CarpetSettings and add date to version in mod json 2023-01-04 19:56:18 +01:00
altrisi 2af067c26d Carpet 1.4.93 for 1.19.3
Forgot to bump versions the previous
2022-12-30 13:43:05 +01:00
altrisi 4496241524 Use constants for a few magic numbers in rules 2022-12-26 16:22:09 +01:00
senseiwells b63dfa1b0a Make /fillbiome limit customisable with fillLimit (#1605) 2022-12-26 15:17:36 +01:00
gnembon f5d41ed540 1.4.91 for 1.19.3 2022-12-07 23:24:33 +01:00
gnembon f6838f8d1b 1.4.90 2022-11-29 21:31:47 +01:00
gnembon 25657593fb 1.4.89 2022-11-24 06:13:42 +01:00
gnembon 6bcc3d294e 1.4.88 2022-11-10 23:23:16 +01:00
gnembon cda6994cae 45a great reg split 2022-11-10 20:51:10 +01:00
FITFC 8f3c4352b9 Added pt_br translation (#1582) 2022-11-04 17:17:45 +01:00
gnembon 4be362e58b 1.4.87 for 22w44a 2022-11-02 22:30:46 +01:00
gnembon 673b76ff3c 1.4.86 2022-10-26 23:29:37 +02:00
gnembon 23b6c8317a 1.4.85 2022-10-20 14:36:33 +02:00
gnembon 9f776167e3 22w42a 2022-10-20 14:33:36 +02:00
gnembon 4e9e59d90c 1.4.84 2022-10-18 16:02:23 +02:00
altrisi b798d76d10 Make fillUpdates and gen checks ThreadLocals final 2022-10-12 15:44:29 +02:00
gnembon be3c7f267c 1.4.83 2022-07-27 22:33:18 +02:00
gnembon 6215f83617 1.4.82 2022-07-22 18:34:04 +02:00
gnembon c919a8c4c7 1.4.81 2022-07-14 00:59:13 +02:00
gnembon 8748c7cbd2 1.4.80 2022-07-05 10:22:32 +02:00
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
gnembon 5e5815c66f 1.19 2022-06-07 17:37:35 +02:00
Dainternetdude f0fbe32993 spelling 2022-06-01 22:19:54 +02:00
gnembon 40af4f2200 1.4.78 for 1.19-pre5 2022-06-01 21:58:32 +02:00
gnembon fc54a8778a 1.4.77 2022-05-23 23:07:33 +02:00
altrisi 08a65902f5 Remove updateSuppressionCrashFix and related logger (#1445) 2022-05-20 20:10:32 +02:00
gnembon b0a2f2c9f2 1.4.76 2022-05-18 21:10:15 +02:00
Fx Morin 9daf72b348 Update updateSuppressionBlock for 1.19 (#1401)
* Changed Rule: `updateSuppressionBlock` to match new update suppression

* Make it easier to use

* Carpets mixin file will be the death of me

* Renamed `WorldInterface` to `LevelInterface`
Merged LevelAccessor with LevelInterface

* Fix issues with 22w14a & resolve issues

* Add `@Unique` to Level_tickMixin.java

* Naming, brackets, and description

* Return null on invalid

* Fix remaining refactoring issues
2022-05-17 21:21:46 +02:00
gnembon d681cb4c54 1.4.75 2022-05-13 11:28:01 +02:00
Ghoulboy 648ea01d15 Making deepslate generate below y=0, not y=16 (#1433)
* Fixes #1431

* Updating carpet rule description

* Making it work for cobbled deepslate
2022-05-11 19:56:25 +02:00
gnembon e5a3cdf929 1.4.74 2022-05-04 21:35:15 +02:00
gnembon c2c127b958 1.4.73 2022-04-27 20:17:56 +02:00
gnembon fc8114b0c1 added 'xpFromExplosions' for xp to always drop from exploding blocks 2022-04-27 20:16:56 +02:00
gnembon d03900ac81 1.4.72 2022-04-21 00:30:35 +02:00
gnembon 8101abb431 retire extreme behaviours, added moreBlueSkulls 2022-04-20 23:19:59 +02:00
gnembon 0234605db0 1.4.71 2022-04-13 21:11:21 +02:00
gnembon a1a41f91a9 1.4.70 2022-04-06 22:16:47 +02:00
Fx Morin 5e9b391ac4 Sculk sensor range (#1389)
* New Rule: `sculkSensorRange`
2022-04-03 13:17:33 +02:00
gnembon bee280f696 1.4.69 2022-03-31 23:06:35 +02:00
gnembon 6d10f36428 1.4.68 2022-03-24 21:53:58 +01:00
gnembon 814147dcca 1.4.67 2022-03-18 00:21:48 +01:00
gnembon 704117f413 1.4.66 2022-02-28 19:54:02 +01:00
gnembon 90e0329fbc 1.4.65 2022-02-23 22:16:52 +01:00
gnembon 2e20d51089 1.4.64 2022-02-22 02:25:55 +01:00
altrisi 1f0c609dc0 Remove log4j as much as possible (#1334) 2022-02-22 01:35:56 +01:00
gnembon 4387c18c62 1.4.63 2022-02-20 10:08:52 +01:00
gnembon 8c127c5cef 1.4.62 2022-02-16 22:28:44 +01:00