9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-27 10:59:16 +00:00
Commit Graph

322 Commits

Author SHA1 Message Date
DGun Otto
d7fcb32bae Reduce worldgen allocations by reusing supplier objects (#68)
* Reduce worldgen allocations by reusing supplier objects

This change optimizes the way SurfaceRules update their biome supplier,avoiding unnecessary object creations and thus reducing memory allocations
during world generation. The update method now reuses the existingPositionalBiomeGetter object if it's already present, otherwise it
initializes a new one.

Additionally, the tryApply method in SurfaceRules now avoids iterator
allocation by directly accessing the rules list, which further contributes
to reducing garbage collection pressure during world generation.
2024-06-14 23:53:47 +08:00
Dreeam
96a88062e3 Updated Upstream (Gale/Purpur/Dependencies) 2024-06-14 23:25:48 +08:00
Dreeam
69bfa16155 Updated Upstream (Leaf)
merge changes in ver/1.20.4 & opt/tracking
2024-06-14 21:22:55 +08:00
Dreeam
2e32ca3a7a Updated Upstream (Gale/Purpur/Leaves) 2024-06-14 03:18:51 +08:00
DGun Otto
91a0550d07 Implement Noisium (#65) 2024-06-13 22:09:11 +08:00
Dreeam
599bfa221e Fix build 2024-06-05 21:13:06 +08:00
Dreeam
44da3463cb Updated Upstream (Leaves) & Add back Jade protocol support 2024-06-05 20:28:50 +08:00
Dreeam
3f34600e84 Updated Upstream (Gale/Purpur) 2024-06-05 19:34:32 +08:00
Dreeam
235fc5298b Add configurable connection message 2024-06-02 01:45:44 +08:00
Dreeam
e4d196b39e Updated Upstream (Gale) 2024-06-01 21:28:57 +08:00
Dreeam
8c627d5801 Updated Upstream (Gale/Purpur) 2024-05-28 20:42:37 +08:00
Dreeam
d104be61d4 Updated Upstream (Gale/Purpur) 2024-05-25 03:07:39 +08:00
Dreeam
cc0981a66a Revert Purpur's Clean-up-version-command-output.patch & Makes output of plugins command better if no plugins 2024-05-25 01:31:56 +08:00
Dreeam
f443acbc38 Don't save primed TNT & falling block entity
Co-Authored-By: Nostal Yuu <yuu8583@proton.me>
2024-05-24 01:58:25 +08:00
Dreeam
03def6be79 Simplify vanilla Minecart pushable logic 2024-05-23 02:11:45 +08:00
DGun Otto
e30198bd9d Fix #61 & Correct case (#62) 2024-05-22 17:16:36 +08:00
Dreeam
7bb67dee00 Use vanilla logic in Util.sequence() for ReloadableServerRegistries to fix issues caused by disorder
To fix https://github.com/Winds-Studio/Leaf/issues/60
2024-05-22 13:46:15 +08:00
Dreeam
90732ec4cf Add back Leaves protocol support 2024-05-21 19:21:31 +08:00
Dreeam
c26a8e1a79 Updated Upstream (Gale/Purpur/Dependencies) & Fix build
Thanks DivineMC's commit: fa0b20825c
2024-05-21 18:04:47 +08:00
Dreeam
f557681355 Updated Upstream (Gale/Purpur) 2024-05-19 09:03:01 -04:00
HaHaWTH
3720814dc4 Drop bamboo collision patch 2024-05-13 23:03:38 +08:00
HaHaWTH
ce6b029d31 Configurable bamboo collision 2024-05-12 16:44:35 +08:00
Dreeam
38e9d59164 Updated Upstream (Gale/Purpur) 2024-05-11 07:47:46 -04:00
Dreeam
c24bd64535 Updated Upstream (Gale/Purpur) 2024-05-09 00:01:27 -04:00
Dreeam
fd42ea1d95 Updated Upstream (Gale/Purpur) 2024-05-07 09:27:52 -04:00
Dreeam
28d9a1f3a8 [ci skip] Update API publish work 2024-05-07 09:04:40 -04:00
Dreeam
b81d95630e Updated Upstream (Gale/Purpur) 2024-05-07 08:32:10 -04:00
DGun Otto
234d7e311a Optimization: Use LXM random generator (#50)
* Use LXM Random generator

* Change author

* Change email

* Reorder patch

---------

Co-authored-by: DGun Otto <ctrl@ikun.fan>
2024-05-04 13:56:27 -04:00
Dreeam
ef6228ab6f Fix console freeze above JAVA 22 2024-05-04 02:49:20 -04:00
Dreeam
a46d32565e Fix version fetcher 2024-05-03 04:46:26 -04:00
Dreeam
b6ad97470f Cleanup 2024-05-02 20:33:37 -04:00
Dreeam
555e5a4425 Ignore terminal provider warning 2024-05-02 20:24:18 -04:00
Dreeam
a74da9b986 Enable Virtual Thread for Bukkit async scheduler by default 2024-05-01 13:37:29 -04:00
Dreeam
e703cd5445 Update 1.20.6 (#49)
* Update Leaf API patches to 1.20.5

* Updated Upstream (Purpur API)

* Some server patches work

* Update 1.20.6

* Some server patches work

* Some some server patches work

* 0oO0oO0oOo

* iI1IiI1i|!il|

* Updated Upstream (Gale/Purpur)

* Server patches work

* Updated Upstream (Gale)
2024-05-01 12:08:20 -04:00
Dreeam
3669cb65e9 Temporarily drop useless patch to fix error on shutdown 2024-04-24 05:49:51 -04:00
Dreeam
c1dbd8ca10 Add Linear region format warning 2024-04-24 03:57:34 -04:00
Dreeam
4927109016 Updated Upstream (Gale/Purpur/Dependencies) 2024-04-24 03:49:00 -04:00
Dreeam
3327fb69cc Updated Upstream (Gale/Purpur/Dependencies) 2024-04-17 04:01:05 -04:00
Dreeam
b3d1849cad Add warning in config for async entity tracker and secure seed 2024-04-15 14:45:09 -04:00
Dreeam
4e263b0c3b Rewrite linear region flush task to fix chunk saving issue if using linear
Co-Authored-By: M2ke4U <79621885+MrHua269@users.noreply.github.com>
2024-04-15 05:43:12 -04:00
Dreeam
9441dac148 [ci skip] Unify thread name formats of async mob spawning/pathfinding/tracker 2024-04-15 05:11:05 -04:00
Dreeam
a0aa83d601 [ci skip] Add TODOS and patch comments 2024-04-15 04:30:23 -04:00
Dreeam
662cf20316 Fix and update optimize minecart patch 2024-04-06 23:09:19 -04:00
Dreeam
ff8529e784 Updated Upstream (Gale) 2024-04-06 23:05:48 -04:00
Dreeam
029f178fbd Continue increase leaf config load priority to fix secure feature seed not load 2024-04-03 03:12:52 -04:00
Dreeam
aafde431c4 Preventing double convert chat packets 2024-04-03 01:55:46 -04:00
Dreeam
c4ff94ae95 Simple cleanup for leaf config and convertor 2024-04-03 00:33:20 -04:00
Dreeam
c7b3e4ea96 Add ability to use Virtual Thread for Linear region flusher 2024-04-01 01:28:14 -04:00
Dreeam
d59542c369 Ensure the seed string output is 1024-bit 2024-03-30 13:03:41 -04:00
Dreeam
c4ef0473a5 Cleanup secure seed command 2024-03-30 11:27:42 -04:00