Commit Graph
3445 Commits
Author SHA1 Message Date
altrisi c6941b840f Map from id in system_info('server_mods') 2022-08-19 07:32:46 +02:00
altrisi 7bdd1a534b Fix typo in readme
Spotted by @ZeroKun265. Closes #1500
2022-08-11 12:38:00 +02:00
altrisi 4db1dd8f87 Implement a command line, configurable rule printer (#1357)
* Implement a command line, configurable rule printer

* Update publish action to rule printer

* Bump loom and lqf versions
2022-08-09 20:44:35 +02:00
altrisi 1734930f7e Remove some unused code (#1521) 2022-08-09 16:21:01 +02:00
gnembon 94a729bae6 1.19.2 2022-08-05 20:38:38 +02:00
altrisi 5b720cbeb5 Don't add Mod to CF release to prevent cutting game version 2022-08-01 23:21:32 +02:00
altrisi feb0dc1efb Remove another duplicated mixin entry
This time for `DistanceManager_spawnChunksMixin`
2022-07-29 14:26:00 +02:00
altrisi f2a270b261 Remove duplicated mixin entry for ServerLevel_spawnChunksMixin 2022-07-29 13:57:32 +02:00
altrisi da06e30c3b Minor SpawnReporter cleanup (#1517)
Mostly removes unused methods
2022-07-29 13:12:26 +02:00
altrisi 8f7e45387e Resolve raw type warnings (#1516)
Also very small optimization to hopper counters and removal of redundant casts in `PerimeterDiagnostics`
2022-07-29 13:12:09 +02:00
gnembon be3c7f267c 1.4.83 2022-07-27 22:33:18 +02:00
gnembon ab45b6fd67 1.19.1 2022-07-27 22:32:26 +02:00
altrisi b677cd73c8 Remove old deprecated Module type and subtypes
They were deprecated in #1382
2022-07-25 22:35:24 +02:00
altrisi 97c4cc9c7d Simplify threading and networking in download suggester (#1512)
* Simplify threading in download suggester
This also makes it more robust against race conditions

* Simplify network requests around app store
2022-07-25 21:59:50 +02:00
altrisi c08d857821 Don't refresh local app store repo on world change
Relates to #1508.
2022-07-23 23:56:13 +02:00
gnembon 6215f83617 1.4.82 2022-07-22 18:34:04 +02:00
gnembon 6d3c4fa508 1.19.1-rc2 2022-07-22 18:25:43 +02:00
altrisi 86ac49c0ae Fix autocomplete removing all upper-case letters in script run 2022-07-21 15:33:42 +02:00
ch-yx a38cd099f2 One-line fix for a minor bug about encoding (#1368) 2022-07-21 15:15:30 +02:00
Space Walker 0f474f3d87 Fix #1492 (#1493) 2022-07-21 15:13:20 +02:00
altrisi c2788f0f85 Allow modded structures in overlay's structure renderer (#1504) 2022-07-21 15:12:58 +02:00
Ghoulboy 14325d7e80 Set ambient properly in modify(entity, 'effect') (#1501) 2022-07-21 15:12:44 +02:00
gnembon c919a8c4c7 1.4.81 2022-07-14 00:59:13 +02:00
gnembon 544857d323 1.19.1-pre4 2022-07-14 00:57:49 +02:00
Crec0 74f56c1c7c Fix query(e, 'brain', 'visible_mobs') returning null (#1481) 2022-07-07 11:59:28 +02:00
altrisi 5a4ceb68c6 Fix language fallbacks for rules not being available early
Fixes #1483
2022-07-07 11:45:37 +02:00
gnembon d571d61938 hmm 2022-07-05 10:39:23 +02:00
gnembon 8748c7cbd2 1.4.80 2022-07-05 10:22:32 +02:00
gnembon 0a00734f65 1.19.1-pre2 2022-07-05 10:21:26 +02:00
Ghoulboy 6019f812d3 Making portal_timer and portal_cooldown return portal timer and portal cooldown in that order (#1476)
* This error is so dumb I must have done it

* Update ai_tracker.sc
2022-06-27 20:37:44 +02:00
altrisi ee4bc332e3 Remove catchall in action pack update
Resolves #1446.
2022-06-27 14:30:34 +02:00
altrisi b0c94bcebe Remove unused CarpetServer.rand field
Resolves #1429.
2022-06-27 14:11:20 +02:00
altrisi 41991b0346 Improve error message when commands fail to be added and make commands using the new system check for masking (#1404)
* Improve error message when command already exists

* Add app's name to the message

* Add app name to any command load failure and fix commands from new system masking existing ones

* Fix duplicated app name in an error

* Update to recent snapshot changes
2022-06-27 14:09:03 +02:00
Fx Morin 286dbead14 Logger Improvements (#1399)
* Null checks & using getOptions

* Removed useless variable, and made HashMap's final

* This list & Map should not be modified.
Plus small changes

* Small things

* Fix #1398

* Apply suggestions from code review

* Remove Dead call

* Handle options being null

* Remove redundant field explainers

Those were there for when they were intermediary fields, they now have a proper name
2022-06-27 14:04:11 +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 f5a92ebb8e 22w24a 2022-06-15 22:30:25 +02:00
gnembon 81d3b9e04f curse 2022-06-07 17:41:02 +02:00
gnembon 5e5815c66f 1.19 2022-06-07 17:37:35 +02:00
altrisi 140cb15b53 Make newline in release message using zero-width character
(​)
2022-06-01 22:37:39 +02:00
Dainternetdude f0fbe32993 spelling 2022-06-01 22:19:54 +02:00
github-actions[bot] 486c2ec5bc Merge docs for 'Carpet Mod 1.4.78 for 1.19-prerelease-5' 2022-06-01 20:19:32 +00:00
Space Walker 7de976a0e2 fix #1454 2022-06-01 22:03:33 +02:00
gnembon 40af4f2200 1.4.78 for 1.19-pre5 2022-06-01 21:58:32 +02:00
altrisiandCrec0 c10149ba55 Publish changelogs to Discord when releasing (#1428)
Co-authored-by: Crec0 <83436716+Crec0@users.noreply.github.com>
2022-05-28 13:07:08 +02:00
Luca Bertozzi 8c7dfa133e Added __on_chunk_unloaded scarpet event (#1451)
* Fixes #1403

* Use concrete type
2022-05-27 20:24:25 +02:00
altrisi d088ee477e Set mixin compatibility level to Java 17 2022-05-27 19:44:39 +02:00
altrisi f18cfb09d2 Fix more warnings and do some small optimizations (#1356)
* Fix more warnings and do some small optimizations

* Fix more warnings in ValueConversions

* Clean up some decompiler names and fix an unnecessary transformation around commands

* Use (way) more compact data structure for slot map

* Minor tweaks
Such as map directly in the collector

* I hate vanilla javac
Revert map changes in latest commit
2022-05-27 19:43:45 +02:00
altrisi e4dc080657 Bump Loader requirement in fabric.mod.json too 2022-05-24 15:26:31 +02:00
gnembon fc54a8778a 1.4.77 2022-05-23 23:07:33 +02:00
gnembon 3a9e3b38dd 1.19-pre2 2022-05-23 23:06:27 +02:00