9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-26 18:39:23 +00:00
Commit Graph

714 Commits

Author SHA1 Message Date
Dreeam
7267d3385d Fix PWT diff 2025-09-09 11:59:03 -04:00
𝑩𝒊𝒒𝒖𝒂𝒕𝒆𝒓𝒏𝒊𝒐𝒏𝒔
a9adcf48e5 Parallel World Ticking API for monitoring tools (#493)
* Parallel World Ticking API for monitoring tools
2025-09-08 22:28:51 -04:00
Dreeam
a33bcd004d Bump netty 2025-09-08 17:33:22 -04:00
hayanesuru
5a18920180 replace hash map of spawn limit with array (#492)
* replace hash map of spawn limit with enum map

* [ci/skip] Add missing comment
2025-09-08 16:39:47 -04:00
hayanesuru
08874d1b30 Only update frozen ticks if changed (#484)
* optimize setTicksFrozen

* [ci skip] Update patch name
2025-09-08 16:39:28 -04:00
Dreeam
89885a143a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@19156cdd Give the right amount of experience after mending (#13047)
PaperMC/Paper@29c8822d Remove no longer needed MC-210802 fix (#13059)
2025-09-06 20:43:37 -04:00
Dreeam
693384826a Fix purpur food burp when full condition
According to Purpur docs, the `burp-when-full` provides a option to play burp after completely filling the food level.

Thus, it should go back to vanilla behavior if the option is disabled.

Fix https://github.com/Winds-Studio/Leaf/issues/488
2025-09-06 02:36:21 -04:00
hayanesuru
fba4656941 Pluto: expose Direction$Plane's faces (#491)
* Pluto: expose Direction$Plane's faces

* [ci/skip] Cleanup
2025-09-05 17:49:48 -04:00
Dreeam
b1e831c0b7 Bump netty & spark 2025-09-05 17:49:21 -04:00
Dreeam
d36ed6c316 Remove OP lock (#486)
Current implementation of OP lock is not an appropriate solution to prevent plugins that contain backdoor or malicious code. There are many ways to bypass this check to manipulate the OP list or permissions. The best way to prevent this kind of grief is to get plugins from valid and trustworthy places.
2025-08-31 23:53:19 -04:00
hayanesuru
25c60030d5 optimize entity tick effects (#481)
* optimize tickEffects

* move down

* [ci skip] Fix typo
2025-08-31 23:31:19 -04:00
Dreeam
2f835efe4a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b6168b7c Get console Brig suggestions from main thread fixes #13027 (#13028)
PaperMC/Paper@9d1d0ef3 Add and call RegionizedServerInitEvent from Folia (#13034)
PaperMC/Paper@704107c3 Resend frozen ticks when cancelling EntityInsideBlockEvent for powder snow fixes #13033 (#13035)
PaperMC/Paper@63cd4af4 Fix createProfile not always returning a new profile (#13036)
PaperMC/Paper@49ca2d2d chore: remove experimental status from Damageable#damage (#13021)
PaperMC/Paper@65641d10 Only log name instead of full profile for configuration phase disconnects (#13038)
2025-08-31 04:34:07 -04:00
hayanesuru
6945a581d5 fix: array cast [ci skip] 2025-08-28 17:30:02 +09:00
hayanesuru
5cc4388005 perf: apply fast bit radix sort [ci skip] 2025-08-28 17:11:34 +09:00
hayanesuru
e5e7b690e8 perf: quick sort in sensor [ci skip] 2025-08-28 15:59:46 +09:00
hayanesuru
4c2d4bd1f3 chore: rebuild patches [ci skip] 2025-08-28 15:59:04 +09:00
hayanesuru
19100c9985 revert: smart sort entities in NearestLivingEntitySensor [ci skip] 2025-08-28 15:59:04 +09:00
hayanesuru
15a6ff762a revert: smart sort items in NearestItemSensor [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
b853e77915 revert: use HashedList on WeightedList [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
befdd9bb47 chore: move unused ActivationList [ci skip] 2025-08-28 15:58:29 +09:00
hayanesuru
f67c6cfb41 revert: custom NonNullList [ci skip] 2025-08-28 15:08:30 +09:00
hayanesuru
33238da5d6 revert: slightly optimized VarInt#write [ci skip] 2025-08-28 14:54:31 +09:00
HaHaWTH
9b1b165882 [ci skip] Remove DISCARD reject policy 2025-08-28 10:10:53 +08:00
HaHaWTH
ee67dcbc7f Don't load chunks for nether mob spawning 2025-08-27 21:27:56 +08:00
Dreeam
8b64f4dd42 Cleanup version fetcher 2025-08-25 18:22:41 -04:00
Dreeam
52f643398c Fetch versions from Leaf download api 2025-08-25 17:30:22 -04:00
Dreeam
f5b95a6716 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b0da38c2 Repository details in RuntimeException for MavenLibraryResolver#addRepository (#12939)
PaperMC/Paper@1922be90 Update custom tags (#12183)
PaperMC/Paper@79cf1353 Ignore HopperInventorySearchEvent when it has no listeners (#13009)
PaperMC/Paper@ea014f7a feat: add stuckEntityPoiRetryDelay config (#12949)
PaperMC/Paper@a9e76749 Support for showNotification in PlayerRecipeDiscoverEvent (#12992)
PaperMC/Paper@5622c9dd Expose attribute sentiment (#12974)
PaperMC/Paper@42b653b1 Expose more argument types (#12665)
PaperMC/Paper@52d9a221 [ci/skip] Fix typo in Display javadoc (#13010)
PaperMC/Paper@614e9acf Improve APIs around riptide tridents (#12996)
PaperMC/Paper@51706e5a Fixed DyeItem sheep dye hunk
2025-08-25 15:52:00 -04:00
Dreeam
c1c203f3de Fix failedSpawnAttemptsData copied many times 2025-08-25 15:17:41 -04:00
hayanesuru
88699fb548 fix: ensure goal selector plugin compatibility (#477)
closes: #475
2025-08-24 13:57:16 +02:00
hayanesuru
33de8a39ce fix: sort config modules by class name 2025-08-24 16:13:11 +09:00
hayanesuru
29760bad8f fix: clear entity collision list on return 2025-08-24 15:41:20 +09:00
Taiyou06
369c24cd93 fix slope node bit magic 2025-08-23 20:31:02 +02:00
hayanesuru
69a35eeb78 fix: air supply increase underwater from incorrect eye Y position 2025-08-23 20:11:45 +09:00
hayanesuru
bdca48734a cleanup 2025-08-22 18:41:15 +09:00
hayanesuru
63f405db23 fix fluid counting 2025-08-22 16:27:51 +09:00
hayanesuru
d343f2181f fix block state tags init 2025-08-22 16:26:21 +09:00
hayanesuru
b4a07ca44f always copy chunk 2025-08-22 16:20:38 +09:00
hayanesuru
b42ef7da8b [ci skip] update comments 2025-08-20 16:44:05 +09:00
hayanesuru
00a5e41bdc [ci skip] rebase 2025-08-20 16:22:57 +09:00
hayanesuru
d8d1a3cfbc send velocity packets before entity tick (#463) 2025-08-20 14:57:54 +09:00
Dreeam
e7915c3726 Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@08bfa446 Lithium Sleeping Block Entity(#618) (#630)
LeavesMC/Leaves@610eee60 fix: fix bot resume CME (#635)
LeavesMC/Leaves@04dac366 Fix vanilla display name (#638)
LeavesMC/Leaves@e5aba7eb feat: hopper counter unlimited speed(#625) (#639)
LeavesMC/Leaves@e44e469a fix: fix SleepingBlockEntity crash when /tick freeze (#640)
LeavesMC/Leaves@5d653e31 fix: fix faster chunk serialization patch (#641)
LeavesMC/Leaves@cb6cd658 [ci/skip] chore: fix patch header
LeavesMC/Leaves@8d9a5b2f [ci/skip]chore: rename hopper counter enable config (#644)
LeavesMC/Leaves@cc019e8f [ci/skip] feat: add Bukkit.getFeatureManager api (#645)
LeavesMC/Leaves@81da0c5e [ci/skip] Bring back LivingEntity effect CME (#648)
LeavesMC/Leaves@ea91106a fix: fix hopper counter config (#646)
LeavesMC/Leaves@230e0987 feat: mount action(#619) (#649)
LeavesMC/Leaves@d9f7afc4 fix: fix sleeping block entity(#654) (#655)
LeavesMC/Leaves@12f665c0 Refactor actions (#650)
LeavesMC/Leaves@c29ff9a8 feat: swap action (#657)
LeavesMC/Leaves@3c09044e fix: fix grindstone curse book overstacking(#658) (#659)
LeavesMC/Leaves@e05f3f7c Update paper, revert #632 (#662)
LeavesMC/Leaves@0c866281 Bot Improvements (#661)
LeavesMC/Leaves@956f0227 feat: add skipTripwireHookPlacementValidation to mc-technical-mode, and format config (#664)
LeavesMC/Leaves@e047327c fix: fix bot use raytrace (#669)
LeavesMC/Leaves@29327349 Fix #667 (#668)
LeavesMC/Leaves@08f53c97 Fix bot cant get entity tracker (#670)
LeavesMC/Leaves@e0d62b4e fix photographer bugs (#666)
LeavesMC/Leaves@d094bdad fix: fix raid(#626) (#671)
LeavesMC/Leaves@678d4e20 Revert "Fix bot cant get entity tracker (#670)"
LeavesMC/Leaves@e298d097 [ci/skip] fix: fix patch name (#672)
LeavesMC/Leaves@099be5b8 [ci/skip] fix: fix push to api fail when commit contains double quotation marks (#677)
LeavesMC/Leaves@ba8993d3 Fix fakeplayer cant get entity tracker correctly (#676)
LeavesMC/Leaves@d93e9766  feat: merge old raid config, fix bugs (#680)
LeavesMC/Leaves@bf55b2a4 fix: fix sleeping block entity bug (#682)
LeavesMC/Leaves@5366b382 Fix creative no clip with projectile (#683)
LeavesMC/Leaves@e55edbf8 Resolves #685  (#687)
LeavesMC/Leaves@a591ec57 Do not tick Arrow life regardless (#688)
LeavesMC/Leaves@3623aea8 fix: stupid me (#689)
LeavesMC/Leaves@73e63912 feat: update leavesclip to 3.0.7 (#681)
LeavesMC/Leaves@bb5a1dff [ci/skip] fix: fix comment (#692)
LeavesMC/Leaves@d87bc544 Fix #690 (#691)
LeavesMC/Leaves@79d9ef74 Update paper (#693)
LeavesMC/Leaves@71790286 Fix optimize noise generation
LeavesMC/Leaves@3ffbde0b Optimize config transfer and remove
LeavesMC/Leaves@62e62242 feat: add logger for internal plugin, and format api code (#696)
LeavesMC/Leaves@f37e9d37 Fix fakeplayer break action
LeavesMC/Leaves@aeb8e07d Fix fakeplayer break action * 2
LeavesMC/Leaves@40af0399 Fix StackableShulker config validator
LeavesMC/Leaves@122c7365 Fix fakeplayer use action
LeavesMC/Leaves@0ee80784 fix: fix photographer bugs (#699)
LeavesMC/Leaves@a30c9abb Remove, and opt config and config command
LeavesMC/Leaves@4b21a968 New shears wrench (#700)
LeavesMC/Leaves@0f40159c Enhance update suppression (#701)
LeavesMC/Leaves@374605cd Fix bot (#705)
LeavesMC/Leaves@ff563baf Fix creative no clip can attract xp-orb (#706)
LeavesMC/Leaves@f0de3ecd refactor: use client side judgement instead of special judgement (#708)
2025-08-20 05:53:39 +08:00
Dreeam
ff7c6beeb6 Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f866a5fd Use LinkedHashMap in ChannelInitializeListenerHolder (#13000)

Purpur Changes:
PurpurMC/Purpur@6c88d740 Updated Upstream (Paper)
PurpurMC/Purpur@520a7e50 Updated Upstream (Paper)
PurpurMC/Purpur@c29e75fe Updated Upstream (Paper)
PurpurMC/Purpur@254407da Updated Upstream (Paper)
PurpurMC/Purpur@3850f35c Updated Upstream (Paper)
PurpurMC/Purpur@710ecf5e Updated Upstream (Paper)
PurpurMC/Purpur@4fd4df07 Updated Upstream (Paper)
PurpurMC/Purpur@0c9140af Updated Upstream (Paper)
2025-08-20 04:33:54 +08:00
hayanesuru
037ec255d4 Replace GoalSelector#availableGoals with optimized collection (#465)
* optimize goal selector

* rebase

* rebase

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-08-19 21:48:46 +02:00
hayanesuru
23b7b02eee optimize chunk map (#438)
* rebase

* optimize LivingEntity#travel

* cleanup

* Replace fluid height map

* reuse array list in Entity#collide

* cleanup

* fix fire and liquid collision shape

* fix checkInside

* inline betweenClosed

* cleanup

* optimize getOnPos

* optimize equals in getOnPos

* update mainSupportingBlockPos on dirty

* cleanup

* rename

* merge same patch

* rebase and remove properly

* [ci skip] cleanup

* rebase and rebuild

* fix async locator

* remove async locator

* cleanup

* rebase

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-08-19 20:48:26 +02:00
Taiyou
55de442b70 skip if not listeners to PreCreatureSpawnEvent
* Skip PreCreatureSpawnEvent if no listeners
2025-08-19 12:36:17 +02:00
hayanesuru
e396d8c564 cleanup 2025-08-17 01:26:18 +09:00
Taiyou
1d73e1e10f optimize setBlockState
* Lithium: combined heightmap update

---------

Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-08-16 18:20:53 +02:00
hayanesuru
fad6c18ca1 [ci skip] drop Cache supporting block check 2025-08-16 16:05:52 +09:00
Dreeam-qwq
c288810527 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@651fa124 Fix cancelled EnderDragonShootFireballEvent playing sound (#12977)
PaperMC/Paper@2456ff26 [ci/skip] Update javadoc for tinted leaves particle (#12962)
PaperMC/Paper@a743e6b1 [ci/skip] Clarify tab completion ordering in event jd (#12965)
PaperMC/Paper@a22447a5 Added getWorldPath to World API (#12952)
PaperMC/Paper@b200237c Fix clone return for Paper PlayerProfile (#12984)
2025-08-16 00:16:16 +00:00
hayanesuru
6381a5e7c3 optimize collectTickingChunks in the random tick system (#453)
* optimize collectTickingChunks

* fix speed
2025-08-15 21:03:43 +09:00