Commit Graph
124 Commits
Author SHA1 Message Date
gnembon 9e75c36914 1.21.2-pre3 2024-10-14 15:13:42 +02:00
gnembon 5e89cc6ddb 24w35a 2024-08-28 23:43:40 +02:00
gnembon 6d0c9597cd 24w34a 2024-08-21 23:19:15 +02:00
gnembon d11586fdaf update to 24w33a 2024-08-18 19:10:40 +02:00
gnembon c4f8c86520 24w20a, disable reset_chunk, relight, and chunk load events 2024-05-15 23:13:40 +02:00
gnembon 0e799bbc3e 24e18a 2024-05-04 00:33:16 +02:00
gnembon d7468ac561 24w13a 2024-03-27 21:57:05 +01:00
gnembon 4e57eecf2d 24w09a 2024-02-29 11:05:15 +01:00
gnembon dcb45c93b8 24w05a 2024-02-01 11:42:59 +01:00
gnembon d524df5a0b removed spawn chunks size rule. Hack for network stuff - may stay. 24w03a 2024-01-18 23:11:56 +01:00
gnembon 5c1da81b9f 23w45a fixes and unmaintainable optimized TNT rule pseudofix. 2023-11-08 21:41:49 +01:00
manyrandomthings b1cc289a49 Fix registry lists being randomized (#1774) 2023-07-28 14:23:59 +02:00
gnembon e28f52171f 1.20-pre5 2023-05-23 18:25:09 +02:00
gnembon f15a0eabf7 null level fixes #1703 2023-05-19 08:01:07 +02:00
gnembon d68c252180 23w16a 2023-04-20 22:13:32 +02:00
gnembon 9a5c2d5fc3 deprecation of material(...), fix map_colour(...) 2023-04-05 20:09:52 +02:00
gnembon 4171f9b784 23w13a 2023-03-29 18:44:12 +02:00
gnembon 4c8e477f4b 1.19.4-pre1 2023-02-22 20:22:02 +01:00
gnembon 2ff1f4fb71 refactored nonscarpet references yeet 2023-02-11 01:33:23 +01:00
gnembon 277872b33c warning cleanup 2023-02-08 21:13:15 +01:00
gnembon 75d94b0570 cleanup of scarpet dependencies 2023-02-08 21:13:14 +01:00
gnembon 8f61271606 semi-auto cleanup 2023-02-04 13:26:21 +01:00
gnembon 2133675ac7 renamed sample_density with 'sample_noise'. sample noise values directly from the local router if possible. 2023-01-30 18:02:08 +01:00
gnembon 659f0106e3 renamed compute_density_function with 'sample_density' and tweaked its use 2023-01-28 19:51:13 +01:00
gnembon ea88c09c42 cached access to worldgen noise functions 2023-01-28 19:20:44 +01:00
Crec0 f2c658bf03 Add compute_density_function to replace removed `sample_noise (#1591) 2023-01-25 17:08:36 +01:00
altrisi 17249c3c77 Refactor code to use ListValue.wrap(Stream)
Simplifies code (improving readability) and unifies `Stream<Value>` to `ListValue` handling
2023-01-19 01:40:29 +01:00
gnembon bd5dfdbf9f refactor limit access to built-in registries 2023-01-18 04:07:55 +01:00
gnembon 8dd08d5cb1 refactor access to context data 2023-01-16 19:01:10 +01:00
gnembon cda6994cae 45a great reg split 2022-11-10 20:51:10 +01:00
gnembon 4be362e58b 1.4.87 for 22w44a 2022-11-02 22:30:46 +01:00
gnembon e0b6aae07b 22w43a 2022-10-26 23:26:27 +02:00
altrisi 4f9bd3ab78 Simplify and standarize some conversions with ValueConversions 2022-10-02 18:49:49 +02:00
ch-yx 8be1cc2003 rename to effective_light 2022-08-28 18:59:11 +02:00
ch-yx e2e5bb2242 light? 2022-08-28 18:59: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 40af4f2200 1.4.78 for 1.19-pre5 2022-06-01 21:58:32 +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
gnembon 1a6b1df534 22w19a 2022-05-13 11:26:47 +02:00
gnembon ab07a6807a 22w12a 2022-03-24 21:48:29 +01:00
gnembon 679045b289 Merge branch 'master' into future
# Conflicts:
#	src/main/java/carpet/script/api/Auxiliary.java
2022-03-21 21:19:35 +01:00
gnembon c4ab2467ba fixes biomes not saving fixes #1322 2022-03-20 15:16:31 +01:00
gnembon 7003ea8cf0 Merge branch 'master' into future
# Conflicts:
#	src/main/java/carpet/helpers/FeatureGenerator.java
2022-03-18 16:42:44 +01:00
gnembon 6ed33ecc50 structures save to world, fixes #1346, attempt to fix biome and dimension recreation, but the other ones need more testing. 2022-03-18 16:41:21 +01:00
gnembon 302a7b4817 fixes for 22w11a 2022-03-17 20:21:55 +01:00
altrisi b1c934da28 Fix a few IDE warnings (#1345) 2022-02-20 19:16:12 +01:00
gnembon c01ad9ce9d 1.18.2-pre 2022-02-20 01:50:46 +01:00
gnembon fa1e6ce086 22w07a
- disabled "sample_noise"
2022-02-16 22:23:52 +01:00
altrisi 53f456320c Implement missing method in BlockValue.PlacementContext to fix exceptions in place_item (#1329) 2022-02-16 00:03:44 +01:00
gnembon 212814f46d 22w06a 2022-02-10 03:15:53 +01:00