9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-27 19:09:22 +00:00
Commit Graph

684 Commits

Author SHA1 Message Date
Dreeam
664bc74870 Moonrise: Optimise countEntries for low size SimpleBitStorage 2024-11-02 22:22:45 -04:00
Dreeam
dfad4e73b0 Moonrise: Do not send chunk radius packet from PlayerList#setViewDistance 2024-11-02 22:22:30 -04:00
Dreeam
4a72284330 Moonrise: Bitstorage optimisations 2024-11-02 22:22:23 -04:00
Dreeam
8b2be87845 Bump dependencies 2024-11-02 22:21:56 -04:00
Dreeam
2d152a074d Revert replacing active effect map to fastutil map 2024-11-02 02:43:01 -04:00
Kobe ⑧
a4f6b92573 Cleanup Async Pathfinding code (#147)
* Working on fix Async Pathfinding (Stage 1)

* No need to extend TickThread
2024-11-02 02:19:12 -04:00
Dreeam
64e3cd9fd8 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@bf80567 Updated Upstream (Paper)
Dreeam-qwq/Gale@eb399bb Remove eobf-mappings-patch.tiny

Paper Changes:
PaperMC/Paper@7f7bc17 Fix inactive item ticking and remove active tick skipping; fix quit event leave message
PaperMC/Paper@4d2672e Fix the fix
PaperMC/Paper@84281ce Don't count mobs twice in per-player-mob-spawns
2024-11-01 05:34:09 -04:00
Kobe ⑧
4cbc1af547 Add dontEnableIfInWater option to DAB (#144)
* Add dontEnableIfInWater option to DAB

* Check using EntityTypeTag

* Simplify condition

* remove import
2024-10-30 11:47:32 -04:00
Dreeam
57b84ca9f2 Updated Upstream (Purpur/Leaves)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@7f490a6 Updated Upstream (Paper)
PurpurMC/Purpur@4f2fe31 Updated Upstream (Paper)
PurpurMC/Purpur@4b57bed Updated Upstream (Paper)
PurpurMC/Purpur@d49ca07 Updated Upstream (Paper)

Leaves Changes:
LeavesMC/Leaves@c19e742 Fix extra yggdrasil
LeavesMC/Leaves@8be1ec2 1.21.1
LeavesMC/Leaves@8019141 Old BlockEntity behaviour
LeavesMC/Leaves@a58f059 Better config command
LeavesMC/Leaves@1a110f5 Fix #281
LeavesMC/Leaves@a8e403d Remove some performance
LeavesMC/Leaves@f552216 Update Paper
LeavesMC/Leaves@202c986 [release-skip] Fix Maven publish
LeavesMC/Leaves@e199edf Fix Spigot EndPlatform destroy (#313)
LeavesMC/Leaves@595afb8 Fakeplayer API update
LeavesMC/Leaves@39440b4 Update bot API (#318)
LeavesMC/Leaves@76d5ab8 Try fix (#309)
LeavesMC/Leaves@9338453 Fix crash cause by fake player and phantom spawner. (#331)
LeavesMC/Leaves@3436062 Fix bytebuf api, fix #334 (#335)
LeavesMC/Leaves@c33b547 New FakePlayer (#337)
LeavesMC/Leaves@615efda Update Paper
LeavesMC/Leaves@56d306c Fix Stackable ShulkerBoxes (#329)
LeavesMC/Leaves@23c47a3 Enhance bot api, fix somethings (#341)
LeavesMC/Leaves@bff6bbd Update Paper
LeavesMC/Leaves@dd487df Fix fakeplayer use action (#345)
LeavesMC/Leaves@2e311f0 Update Paper
LeavesMC/Leaves@b8cd2ec Fix CommandUtil(#348) (#349)
LeavesMC/Leaves@95e6661 Make lever and cocoa wrench-able by shear (#351)
LeavesMC/Leaves@6c5cc79 Fix #353
LeavesMC/Leaves@b33c46c Update Paper
LeavesMC/Leaves@f830919 Update Paper
LeavesMC/Leaves@9d90760 Revert raid changes (#361)
LeavesMC/Leaves@d2b7fab Fix Incorrect Collision Behavior for Block Shape (fix #344) (#363)
LeavesMC/Leaves@6a9d61b Allow anvil destroy item entities and disable vault blacklist (#364)
LeavesMC/Leaves@e745ddd Update Paper
LeavesMC/Leaves@ab75141 Fix fakeplayer rotation action (#365)
LeavesMC/Leaves@423df96 Fix bot changing dimension (#366)
2024-10-30 11:22:31 -04:00
Dreeam
90a7b3b8dd Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@457c34b Fix wrong decompile fix
2024-10-30 11:14:48 -04:00
Kobe ⑧
c6c6224037 Optimize Entity#distanceToSqr (#143)
* Optimize Entity distanceToSqr
2024-10-29 05:34:48 -04:00
Kobe ⑧
7ff1fc41b7 Ensure teleport is executed on server thread with Async Tracker on (#141)
* Extend TickThread

* Change accessibility

* Schedule teleport on server thread
2024-10-28 17:31:24 -04:00
Dreeam
9514f2b230 🎃Happy Halloween🎃 2024-10-28 06:18:37 -04:00
Dreeam
4fe2676d33 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@8fe4d47 Cleanup Predict Halloween
2024-10-28 06:18:13 -04:00
Kobe ⑧
d3b1401426 Further reduce memory footprint of CompoundTag (#140)
* Further reduce memory footprint of CompoundTag

* Optimize deepcopy
2024-10-28 03:38:42 -04:00
Kobe ⑧
f75d4f1cdb Optimize LivingEntity sensor and YieldJobSite (#139)
* Remove stream in YieldJobSite

* Use parallelQuickSort in NearestLivingEntitySensor
2024-10-26 09:03:36 -04:00
HaHaWTH
84820324d1 Fix Citizens compatibility issue 2024-10-26 19:30:02 +08:00
Dreeam
e8bc348896 Cleanup Remove stream in Brain 2024-10-25 20:11:03 -04:00
Dreeam
3dcdc3adeb [ci skip] Format patches 2024-10-25 19:27:23 -04:00
Kobe ⑧
40ed920e92 Fix AsyncLocator (#137)
Fix AsyncLocator
2024-10-26 05:25:01 +08:00
HaHaWTH
c4d5c6ef20 Fix AsyncLocator 2024-10-26 05:18:09 +08:00
Kobe ⑧
d97082ee10 Merge branch 'Winds-Studio:ver/1.21.1' into ver/1.21.1 2024-10-26 05:17:30 +08:00
Kobe ⑧
1d6dd2e6de Optimize Brain (#136) 2024-10-25 14:52:58 -04:00
HaHaWTH
ad27520a6e Optimize Brain 2024-10-26 02:42:45 +08:00
Kobe ⑧
9dd0026f4c Async locator & Virtual thread for chat executor & Fix potential array out of bound in tracker (#134)
* Fix MC-177381

* Asynchronous locator

* Add patch origin

* Extend TickThread

* Ensure event is called on server thread

* default to false

* Async locator for eye of ender

* Virtual thread for chat executor

* Remove import

* Cleanup patch

* Fix dolphin treasure finding

* move

* Fix potential ArrayIndexOutOfBoundsException

* Format patch
2024-10-25 14:34:00 -04:00
Dreeam
98dab127fd Revert action releases change 2024-10-23 07:41:43 -04:00
Dreeam
bda25ccf14 Update workflow 2024-10-22 22:56:28 -04:00
Dreeam
cdb90c11d6 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@7616822 Update workflow
2024-10-22 22:55:50 -04:00
Dreeam
f56dc061d3 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@755a775 [ci skip] rebuild patches
PaperMC/Paper@3b9db2b Updated Upstream (Bukkit/CraftBukkit) (#11501)
PaperMC/Paper@c13f9fd Fix potential annotation testing interruption (#11460)
PaperMC/Paper@260c3bb Always send Banner patterns to the client (#11506)
PaperMC/Paper@14a48cd Some small touchups to the GUI (#11505)
PaperMC/Paper@d348cb8 Restrict BlockProjectileSource#launchProjectile

Gale Changes:
Dreeam-qwq/Gale@e893e3d Updated Upstream (Paper)
2024-10-22 22:05:12 -04:00
Kobe ⑧
09fa2d6a0f Cache blockstate cache (#133)
* Cache blockstate cache

* rename
2024-10-22 08:19:08 -04:00
Dreeam
ad4499267d Skip if failed publish 2024-10-22 02:41:24 -04:00
Dreeam
a5ddca9838 Remove areChunksLoaded check to avoid double get chunk
In `moonrise$areChunksLoaded`, it pre loop chunks in range and do fullchunk.get calls to check if the chunk is loaded. But get chunk calls are expensive, then I moved the check in the following loop to prevent double call it.

can be around 1 to 2 more faster in test (8192 stacked minecarts with 1min spark profiling).
2024-10-22 00:33:03 -04:00
Dreeam
31026f4fda Forget to add return 2024-10-22 00:26:22 -04:00
Kaan D.
d357853cbc [ci skip] Update README.md (#132)
removed the "for chinese only" text since afdian accepts paypal and stripe now.
2024-10-21 21:53:24 -04:00
Kobe ⑧
5b0251fde8 Cleanup ChatImage protocol support & Further reduce worldgen allocation (#131)
* Cleanup protocol comment & Reduce worldgen allocations

* Cleanup protocol
2024-10-21 15:44:41 -04:00
Kobe ⑧
e324f59a03 Enhanced sentry dsn (#130) 2024-10-21 13:57:46 -04:00
Dreeam
520d6fae40 Added Optimized nearby alive players for spawning 2024-10-20 14:03:25 -04:00
Dreeam
6f4031c988 Reduce object complexity to make block isValid calls more efficient 2024-10-20 14:03:06 -04:00
Dreeam
f6a7007600 Added optimized trial spawner ticking 2024-10-20 14:02:48 -04:00
Dreeam
fb95f9ed07 Moonrise: Avoid streams for block retrieval in Entity#move 2024-10-20 14:01:56 -04:00
Dreeam
f890915133 Moonrise: Optimise checkInsideBlocks 2024-10-20 14:01:07 -04:00
Dreeam
743c6f7c38 Moonrise: Add direct lookup by chunk for NearbyPlayers 2024-10-20 14:00:52 -04:00
Dreeam
1828dd7918 Moonrise: Optimise BiomeManager#getFiddle 2024-10-20 14:00:44 -04:00
Dreeam
ffd9b8c817 Moonrise: Store ticking blocks in chunk sections as positions only 2024-10-20 14:00:35 -04:00
Dreeam
8097beeef7 Moonrise: Optimize nearby players for spawning iteration 2024-10-20 14:00:24 -04:00
Dreeam
2bb96e7084 [ci skip] Drop Optimize check nearby fire or lava on entity move 2024-10-20 14:00:07 -04:00
Dreeam
de8900295f [ci skip] Remove some unapplied patches
The implementations of these patches are not appropriated or useless
2024-10-19 02:43:54 -04:00
Dreeam
97323064a9 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@5fffc5e Updated Upstream (Paper)
2024-10-18 01:41:22 +00:00
Dreeam
959e6324dd Remove stream and double iteration in enough deep sleeping player check 2024-10-17 01:53:03 -04:00
Dreeam
1fb19fc1e7 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@aebbdc9 Add proper async player disconnections

Gale Changes:
Dreeam-qwq/Gale@de0aa14 Updated Upstream (Paper)
2024-10-17 01:34:32 -04:00