Commit Graph
3303 Commits
Author SHA1 Message Date
vlad2305m d49be89e23 Do not load clientside-only classes in serverside ShapeDispatcher code (#1642)
fixed use of client side classes in shape dispatcher
2023-01-31 21:39:37 +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 ec2b56183a renamed compute_density_function with 'sample_density' and tweaked its use 2023-01-28 19:54:41 +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
altrisi 6adccfd46a Some minor cleanup in CarpetServer
- Fully remove late registration handling
 - That removes the reference to the command dispatcher
- Fix displaced comment
- Simplify "don't mixin to register" checking
2023-01-25 18:05:32 +01:00
senseiwells 009d971584 Add rule to make the World Border update with ticks instead of real time (#1550) 2023-01-25 17:40:18 +01:00
Space Walker 0e2f6df4d3 Allow setting qc range with quasiConnectivity setting (#1617)
* add quasiConnectivityRange setting

* make sure qc range respects different world heights

* check if source == null in qc range validator

* merge the two qc settings

* Set minimum range down to zero (no qc)
2023-01-25 17:28:05 +01:00
Crec0 f2c658bf03 Add compute_density_function to replace removed `sample_noise (#1591) 2023-01-25 17:08:36 +01:00
github-actions[bot] d26a56ea98 Merge docs for 'Carpet Mod 1.4.95 for Minecraft 23w04a' 2023-01-24 21:20:04 +00:00
gnembon abe1d070de thick stuff its not a confirmed bug 2023-01-24 22:10:12 +01:00
gnembon 1a88ac35b5 1.4.95 2023-01-24 21:58:02 +01:00
gnembon a95622e749 22w04a 2023-01-24 21:52:01 +01:00
altrisi 889e3b6999 Replace usages of j.u.Stack with fastutil's
Java's is synchronized everywhere, reducing performance given we don't need it to be. It's recommended to use `Deque` as a replacement, but given we have fastutil's, we use those

Closes #1640
2023-01-24 13:46:53 +01:00
altrisi fb7b1f79a5 Fix unchecked removal of commands by app name 2023-01-23 22:19:07 +01:00
altrisi c9c1e5a4dc Fix undef docs mentioning you can undef constant literals
Fuxes #1566
2023-01-20 19:00:47 +01:00
altrisi 1eb25ba1b5 Improve unexpected java exception in scarpet error slightly 2023-01-20 18:53:26 +01:00
altrisi 1f38a2e89c Remove leadFix rule
It's been fixed for ages, and the only code we still add is already in vanilla
2023-01-20 18:27:40 +01:00
altrisi 583a372ba4 Migrate Context usage from recently merged PR 2023-01-20 18:09:15 +01:00
Ghoulboy bc5ece085c Added thickHugeFungusGrowthFix rule (#1458) 2023-01-20 18:07:44 +01:00
altrisi 58a68739c5 Annotate source in Validator with @Nullable
Using it without a check happens too many times
2023-01-20 14:41:41 +01:00
altrisi d9a4a62f7c Fix NPE in a validator from registry access refactor 2023-01-20 14:35:45 +01:00
Ghoulboy 811b330446 Adding system_info('world_min_spawning_light') (#1475) 2023-01-20 14:01:37 +01:00
altrisi 914e129f6e Merge particle caches (#1528)
* Merge particle caches

* Reset this cache on world reload
2023-01-20 13:56:16 +01:00
altrisi 3050a82b96 Replace one missed usage
It was also using the copy-constructor, so this way it should also be more efficient
2023-01-19 01:47:33 +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
altrisi dd1dc3756a Remove a no longer necessary mixin
And tiny cleanup to another one
2023-01-19 00:30:23 +01:00
altrisi e924477558 Use enum for chainstone setting
And very minor cleanup in `CarpetSettings`
2023-01-18 22:44:12 +01:00
github-actions[bot] b81ce06beb Merge docs for 'Carpet Mod 1.4.94 for 23w03a' 2023-01-18 21:21:10 +00:00
gnembon 8935764df5 1.4.94 2023-01-18 22:14:56 +01:00
gnembon 943fa1ed0f 1.4.94 2023-01-18 22:12:07 +01:00
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
altrisi 005368c3d9 Typo fixing round
Light check over all scarpet docs

Resolves #1626, resolves #1613, resolves #1597, some of the fixes are from these
2023-01-18 14:14:36 +01:00
altrisi 0e8b53c8d3 Add CarpetContext.s back temporarily as Deprecated for compatibility 2023-01-18 13:47:22 +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
altrisi bc31faca21 Fix flipped values for tick freezing 2023-01-04 22:29:17 +01:00
altrisi e5672dc097 Simplify logger packet sending 2023-01-04 20:58:34 +01:00
altrisi e71cbcafab Add comment related to previous commit 2023-01-04 20:32:20 +01:00
altrisi cb923fbb67 Minor changes and fixes around tick warping
When warping and frozen the game will now run at 20 (frozen) TPS instead of as fast as possible around a loop

Frozen ticks will no longer count towards tick warping

TPS logger will now display `TPS: 0.0` when the game is frozen
2023-01-04 20:21:51 +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 975ee79a3c Set remap=false to brigadier mixins 2022-12-30 17:25:38 +01:00
altrisi 027d7f5808 Cancel release if version was already released 2022-12-30 15:45:08 +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 0e61d67c4a Add modrinth badge and update some links to match modrinth page
Still pending a better look at it
2022-12-30 12:54:32 +01:00
github-actions[bot] 4fd1c259ab Merge docs for 'Carpet Mod 1.4.92 for 1.19.3' 2022-12-29 23:04:06 +00:00
altrisi 7efa9df3ee Simplify chunk refreshing and fix a bug in it
where block-specific distance is used instead of chunk distance
2022-12-28 16:32:01 +01:00
v2ray ccd6512401 Fixed drop decay gamerules not working properly. (#1612)
Fixed drop decay gamerules work exactly the opposite when using optimized tnt.
2022-12-28 14:42:44 +01:00
altrisi 4496241524 Use constants for a few magic numbers in rules 2022-12-26 16:22:09 +01:00