9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 09:59:15 +00:00
Commit Graph

918 Commits

Author SHA1 Message Date
Taiyou06
9febd5a86d cache configuration 2025-03-10 21:10:42 +01:00
Taiyou06
94c74fae3d lmaoooooo 2025-03-10 20:45:03 +01:00
Taiyou06
7e819c4f79 whoops 2025-03-10 20:42:28 +01:00
Taiyou06
22a66b5505 yolo v2 2025-03-10 20:40:15 +01:00
Taiyou06
4624431b3f please build slightly faster 2025-03-10 20:23:26 +01:00
Dreeam
5dba586116 [ci skip] Move pr build workflow to blacksmith 2025-03-10 06:19:47 -04:00
Taiyou
2a6eda6d32 Configurable spawner block settings (#251)
* custom SpawnerSettings

* [ci/skip] cleanup

* [ci/skip] cleanup

* Use vanilla min/max spawn delay as default values

* Move config to gameplay
2025-03-10 06:10:28 -04:00
Dreeam-qwq
a4c464e7ab Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@7af959b5 Updated Upstream (Paper)
2025-03-10 01:38:31 +00:00
Taiyou
3509e736d5 Fix async chunk send (#252)
If a chunk is already in the sentChunks set, we simply return early instead of throwing an exception.

Made moonrise$addReceivedChunk call to gracefully handle the case where a chunk is already marked as received.

If the chunk was already received, we remove the chunk from our sent list and return early.
2025-03-09 16:18:21 -04:00
Dreeam
5603fe2984 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@8e69d981 Player - Expose player score (#12243)
PaperMC/Paper@2526fe06 Add type to represent unimplemented data component types (#12222)
PaperMC/Paper@20df25d3 Don't resync all attributes when updating scaled health (#12232)
PaperMC/Paper@43f37b1b Remove ItemFactory#enchantWithLevels range check for vanilla parity (#12209)
PaperMC/Paper@a2b0ff06 Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)
PaperMC/Paper@df96f8a0 Correctly handle events for end portal (#12246)
PaperMC/Paper@25654978 Cancel PlayerLaunchProjectileEvent properly for enderpearls (#12223)
PaperMC/Paper@34c794dc ServerTickManager#requestGameToSprint - Silence command like feedback (#12220)
PaperMC/Paper@3d13b115 fix: switch back to using a snapshot for velocity-natives
PaperMC/Paper@7afae7f4 Add client tick end event (#12199)
PaperMC/Paper@e5d988df Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)"
PaperMC/Paper@743346a5 Force update attributes
PaperMC/Paper@1a7288aa Adjust unloaded chunk check for block digging

Gale Changes:
Dreeam-qwq/Gale@7fa44170 Updated Upstream (Paper)
Dreeam-qwq/Gale@071288bc Updated Upstream (Paper)
Dreeam-qwq/Gale@52645592 Updated Upstream (Paper)
2025-03-09 15:30:21 -04:00
Taiyou
f2f033bf60 update gale 2025-03-09 21:28:33 +03:00
Taiyou06
c23e385f25 potentially fix async mob spawning cap calculation 2025-03-09 19:04:53 +01:00
HaHaWTH
77759079e1 Add experimental comment to AsyncChunkSend 2025-03-09 19:29:50 +14:00
Creeam
4e00b55022 Fix structure locate issue related to faster random generator (#248) 2025-03-08 14:07:31 -05:00
Dreeam
0d57b02c40 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@45198578 Set old position / rotation for newly created entities

Gale Changes:
Dreeam-qwq/Gale@e007f34a Updated Upstream (Paper)
2025-03-08 10:05:31 -05:00
Dreeam
8c1ad8d658 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b5066268 Remove unused light queue size option (#12201)
PaperMC/Paper@1d5e5a57 Document replacement for Skull owner profile methods (#12195)
PaperMC/Paper@8de7e356 Add null check to level ref in Entity constructor (#12218)
PaperMC/Paper@a866e366 Fix MenuType.SMITHING JavaDocs (#12226)
PaperMC/Paper@5538d24d Fix "DEFAULT" SpawnReason of fish spawned by bucket (#12227)
PaperMC/Paper@0a4eb8f3 Send the pong response packet immediately. This packet is similar to the keep alive packet and is processed async. (#12242)
PaperMC/Paper@7a3d0c4e Fix recipe being always null in PrepareItemCraftEvent from the api (#12237)
PaperMC/Paper@a6ce734f Fix zombie villager not dropping item once cured (#12230)
PaperMC/Paper@ce300162 Skip alpha channel for custom model data component (#12205)

Gale Changes:
Dreeam-qwq/Gale@ef499e4c Updated Upstream (Paper)
2025-03-08 01:31:44 -05:00
Dreeam
e38a717f8a [ci skip] cleanup (6/14) 2025-03-07 15:49:01 -05:00
Dreeam
efc9314dd9 [ci skip] cleanup (1/14) 2025-03-07 15:18:16 -05:00
Dreeam
ab4fe8ea44 [ci skip] cleanup 2025-03-07 15:02:52 -05:00
Dreeam
8cb5ab7e15 [ci skip] Cleanup prepareRelease.sh
* Cleanup

* Print checksums in action build log to keep security
2025-03-07 14:42:16 -05:00
Dreeam
ae5ce59525 Fix format 2025-03-07 08:55:48 -05:00
Dreeam
f77ea9f730 Cleanup workflow & Refactor Leaf release to replace deprecated one (#244)
* [ci/skip] Cleanup workflow & Update relaeses

* Correct output jar name

* Correct format

* Cleanup publish API

* Upload tag retrival test

* Fix

* test

* Fix build

* Update release notes scripts

* Fix github env

* Fix

* Fix format

* Add missing env

* Update workflow for test

* Update prepareRelease.sh

* Update workflow for test

* Fix

* Use full commit hash for commit log link & Format

* [ci/skip] Ready for merge
2025-03-07 08:44:26 -05:00
Taiyou
79e012073d yolo 2025-03-06 12:47:14 +03:00
Taiyou
e2d549842b decouple properly 2025-03-06 12:30:49 +03:00
Taiyou
7209c94b98 decoupled api release 2025-03-06 12:23:16 +03:00
Taiyou06
db500330db Merge remote-tracking branch 'origin/ver/1.21.4' into ver/1.21.4 2025-03-06 10:06:44 +01:00
Taiyou06
bf437d81b1 temp: remove BFS on getSlopeDistance in fluids 2025-03-06 10:06:30 +01:00
Dreeam-qwq
6a4faf1cf8 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@d56fa60e Updated Upstream (Paper)
2025-03-06 01:39:45 +00:00
Taiyou
45b48136f1 switch to blacksmith cache and cleanup 2025-03-06 01:13:14 +03:00
Taiyou
49c1d72915 pretty please? 2025-03-06 00:52:41 +03:00
Taiyou
29be71ca51 whoops 2025-03-06 00:50:24 +03:00
Taiyou
cfb4f5aaaf fix the cache hopefully? 2025-03-06 00:48:11 +03:00
Taiyou06
1576517ac8 Merge remote-tracking branch 'origin/ver/1.21.4' into ver/1.21.4 2025-03-05 22:24:54 +01:00
Taiyou06
2d54fdea9b fixed a small concurrency issue on flushQueue(?) 2025-03-05 22:24:28 +01:00
Taiyou
be25e9f3ea bump gradle version
i'm letting it build so it caches it on the next run
2025-03-05 23:26:40 +03:00
Taiyou
bd16cbe7d8 add manual trigger 2025-03-05 23:07:24 +03:00
Taiyou
cd7689b16f Chunk improvements (#231)
* perf: SpatialPlayerIndex for isChunkNearPlayer

* perf: ensureCapacity with collectTickingChunks

* perf: optimize getSlopeDistance

* perf: optimize AABB Intersections

* perf: implement custom arrays for regions and caches

* perf: Improve SortedArraySet sorting (needs testing)

* rebase 1.21.4

* perf: optimize ClientBoundLightUpdatePacketData

* perf: O(1) Array Writes during Chunk Loading

* perf: Optimize LinearPalette (no not the linear format)

* perf: Rewrite ConcurrentLongHashSet

* rebase 1.21.4

* Fix Multithreaded Tracker (#236)

* duke gonna arrest me

* i hate git v2

* rebase

* dont worry ill change the name of this patch

* perf: Rewrite ConcurrentLongHashSet again

* perf: Optimize sendChunk

* [ci skip]

* cleanup

* aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

* cleanup

* remove streams on LinearPalette and SerializableChunkData

* actually commit them lmao

* actually commit them lmao 2

* fix

* rebase

* perf: clone less (could help with skyblocks)

* perf: more unload stuff

* perf: manual loop unrolling and bulk copy

* initial size for SerializeableChunkData

* perf: async chunkSend

* cleanup asyncChunkSend

* remove experimental tag

* rebase

---------

Co-authored-by: Creeam <102713261+HaHaWTH@users.noreply.github.com>
Co-authored-by: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com>
2025-03-05 22:45:26 +03:00
Taiyou
ce59731e6f Merge pull request #235 from Winds-Studio/networking
Connection.flushQueue optimization
2025-03-05 15:44:53 +01:00
Taiyou06
ae5cd82c12 add a toggle 2025-03-05 15:37:38 +01:00
Taiyou06
b46d837fa2 Merge remote-tracking branch 'refs/remotes/origin/ver/1.21.4' into networking 2025-03-05 14:15:58 +01:00
Dreeam
603e60dedf Build 2025-03-04 16:44:32 -05:00
Dreeam-qwq
2819d0a167 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@777c931c Updated Upstream (Paper)
2025-03-04 01:39:58 +00:00
Taiyou06
62d81685c1 Merge remote-tracking branch 'refs/remotes/origin/ver/1.21.4' into networking 2025-03-03 17:33:35 +01:00
Dreeam-qwq
bcc99c7b60 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@8de7331a Updated Upstream (Paper)
2025-03-01 01:39:49 +00:00
Creeam
2e5ea6957e Fix async entity tracker (#241)
* Fix Multithreaded Tracker

* [ci skip] Add comments
2025-02-27 15:11:28 -05:00
Kaan D.
68653110bc damn 🐴 2025-02-27 20:05:56 +03:00
Kaan D.
0dcab8751b i forgor 2025-02-27 19:57:13 +03:00
Kaan D.
fc64419d68 dont mind me, im just trying some gradle wizardry 2025-02-27 19:53:09 +03:00
Dreeam
239ce6d62b Update GitHub action env name to fix /version command output 2025-02-27 06:45:43 -05:00
Dreeam
ae05e90944 ShreddedPaper: Don't block main thread in Connection#syncAfterConfigurationChange 2025-02-27 06:25:34 -05:00