Commit Graph
3263 Commits
Author SHA1 Message Date
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
Ghoulboy 43bb84437f Add event for commands and make __on_player_message not trigger for them (#1525)
* Restoring old behaviour of __on_player_message

Fixes #1511

* Changed to PLAYER_COMMAND

* Updated docs

* Updated event_test.sc

* Updated editor keywords

* Fixed issue
2022-12-26 15:30:50 +01:00
senseiwells b63dfa1b0a Make /fillbiome limit customisable with fillLimit (#1605) 2022-12-26 15:17:36 +01:00
altrisi 09155fd54c Deduplicate and slightly improve renewableCoral, fix crash
Fixes #1608
2022-12-26 15:11:26 +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 8c1c189caa 1.19.3-pre3 2022-11-29 21:31:07 +01:00
gnembon c16cb2e9dd find valid generation point should now test for biome 2022-11-29 21:14:44 +01:00
altrisi d05d08ba7c Update to Gradle 7.6 2022-11-26 11:00:50 +01:00
github-actions[bot] 0d837c4525 Merge docs for 'Carpet Mod 1.4.89 for 1.19.3-pre2' 2022-11-24 05:17:26 +00:00
gnembon 25657593fb 1.4.89 2022-11-24 06:13:42 +01:00
gnembon 1edd06605b 1.19.3-pre2 2022-11-24 06:10:18 +01:00
gnembon f7d9f662fd yeet fabric, not needed, 1.19.3-pre1 2022-11-22 18:23:31 +01:00
altrisi 176b576c30 Improve empty shulker box merging a bit
- Prevents boxes with different nbt from stacking. Fixes #1596
- Makes stacks partially be able merge to max size when sum would be greater than it (by keeping both entities around, but lowering its count)

Pending for the future: Checking why client doesn't render stack size changes
2022-11-22 12:48:04 +01:00
gnembon 2fd48c31ff 22w46a 2022-11-16 21:16:51 +01:00
altrisi 7e6405d67a Fix a typo in Scarpet entity docs
Found by @lucifiel1618, closes #1594.
2022-11-12 11:03:33 +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
altrisi 48c804fcaa Don't copy (and allocate) ByteBuf when reading Carpet packets
Should fix #1589
2022-11-10 13:14:03 +01:00
altrisi 1466006638 Don't compute tree size and depth with debugging disabled (#1588) 2022-11-09 09:59:00 +01:00
altrisi da5bccb5c5 Fix placed empty shulker boxes not stacking
Fixes #1587
2022-11-05 12:05:40 +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
altrisi c51f59c799 Check writable in CarpetRulePrinter
By using joptsimple's own converter
2022-10-30 17:40:55 +01:00
gnembon 673b76ff3c 1.4.86 2022-10-26 23:29:37 +02:00
gnembon e0b6aae07b 22w43a 2022-10-26 23:26:27 +02:00
altrisi 1c2b1dfa2a Migrate from deprecated set-output in release action
Only missing one in `update-release-asset`, but that's an archived repo so it's a bit more difficult...
2022-10-23 14:16:58 +02:00
github-actions[bot] 0f21d15b4f Merge docs for 'Carpet Mod 1.4.85 for 22w42a' 2022-10-20 12:53:41 +00: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
github-actions[bot] ffa4fcf2a6 Merge docs for 'Carpet Mod 1.4.84 for 1.19.2' 2022-10-18 14:03:30 +00:00
gnembon 4e9e59d90c 1.4.84 2022-10-18 16:02:23 +02:00
replaceitem 2b5e51b4df Fixed NPE when events are triggered within events (#1574) 2022-10-16 17:33:54 +02:00
altrisi ab9f7992b7 Use Java's Math constants for Scarpet math constants 2022-10-16 14:33:38 +02:00
replaceitem 24b9c386ec [Scarpet] Added ability to cancel events (#1497)
* Added ability to cancel events

* Made more events cancellable

* Added event_priority to __config

* Check for string values for performance

* Made player_finishes_using_item cancellable

* Made player_chooses_recipe cancellable

* Made player_swaps_hands cancellable

* Made player_message cancellable

* Added __on_player_placing_block (#1498)

* Added event to docs, keywords, event_test

* Added docs for event cancellation
2022-10-15 13:30:53 +02:00
gnembon 4bb4b557e5 note on 'variant' being experimental 2022-10-15 12:56:06 +02:00
gnembon c6b1f53b44 shapes 'facing' now defaults to player and player is correctly rendered facing player face, not camera plane. 2022-10-15 12:49:18 +02:00
altrisi 8e38619f61 Don't hold Context variables for the lifetime of scheduled calls
Fixes #1568
2022-10-15 12:34:55 +02:00
altrisi 1a6febc6c0 Tweak wiki text for strict rules 2022-10-15 11:11:28 +02:00
altrisi 635fb586c4 Allow rules to declare they only accept a set of options (#1560) 2022-10-12 16:13:59 +02:00
altrisi b798d76d10 Make fillUpdates and gen checks ThreadLocals final 2022-10-12 15:44:29 +02:00