9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-28 03:19:21 +00:00
Commit Graph

642 Commits

Author SHA1 Message Date
Dreeam
19fbe8ce15 Cleanup cache chunk key
Reuse existing chunk key field instead of making new one, also prevent unnecessary increase of ChunkPos object size
2025-02-11 11:27:17 -05:00
Dreeam
1046685bbf Drop Configurable tripwire dupe, since Paper added it back 2025-02-11 11:18:50 -05:00
Creeam
3b6ce17b1f Dont throw in async thread & Clean up (#222)
* Dont throw in async thread

* Fix typo
2025-02-11 11:03:00 -05:00
Dreeam-qwq
b26dc8d3f0 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@6f89f224 Updated Upstream (Paper)
2025-02-11 01:39:20 +00:00
Dreeam
9ead0ae73d Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@597dcfff Add support for lz4 (#12053)
PaperMC/Paper@53ae5c95 Make Sittable interface extend Entity (#12016)
PaperMC/Paper@786ddf53 Default piston block entity direction to DOWN (#12039)
PaperMC/Paper@cb6c57e0 Fix Squid and Dolphin spawn height (#12045)
PaperMC/Paper@51acc802 Prevent duplicate raider in RaidSpawnWaveEvent list (#12040)
PaperMC/Paper@61312fdb Switch to jspecify annotations for Player (#12042)
PaperMC/Paper@1a04e96a Fix EntityBreedEvent cancellation (#12046)
PaperMC/Paper@eff617b8 [ci/skip] Deprecate Server#setSpawnRadius (#12024)
PaperMC/Paper@edacfdf4 Do not queue player info packets (#12080)
PaperMC/Paper@cafef9ce [ci/skip] Move EntityUtil to correct directory (#12092)

Gale Changes:
Dreeam-qwq/Gale@1c139da5 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@c038d785 Updated Upstream (Paper)
PurpurMC/Purpur@708a2fd9 fix: properly apply breeding-delay-ticks option for turtles
PurpurMC/Purpur@e6a1ebd3 Updated Upstream (Paper)
2025-02-10 10:53:52 -05:00
Creeam
a8ec2340d5 Async structure locate API (#220)
* Async structure locate api

* Mark as experimental
2025-02-09 14:53:13 -05:00
Creeam
9b2ef9a753 Dont reallocate buckets again (#218)
* Don't re-allocate buckets again
2025-02-08 11:27:02 -05:00
蛟龙
37b9455c00 Reimplement Hide specified item components (#215)
* [Reimplement] Hide specified item components

* cleanup
2025-02-08 09:55:50 -05:00
Dreeam
81be1d35dd Updated Upstream (Gale/Leaves)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@9c48e95c Update LithiumHashPalette

Leaves Changes:
LeavesMC/Leaves@74cb952f Fix some protocol
LeavesMC/Leaves@99b3aafc Fix bot action, and entity tickCount
2025-02-07 15:50:02 -05:00
Dreeam
9084006284 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@71f219d8 missing diff in daylight api patch
2025-02-06 23:42:11 -05:00
Dreeam
387597f347 Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@88819fe8 Add mc-old hopper suck-in behavior (#395)
LeavesMC/Leaves@7394e8dd Fix papermc repo
LeavesMC/Leaves@85c7bf11 Remove cache-world-generator-sea-level (#392)
LeavesMC/Leaves@00798036 init 1.21.4, and boom!
LeavesMC/Leaves@91fc24da build change, but weight not work
LeavesMC/Leaves@4ccdf459 just work
LeavesMC/Leaves@05ee2e36 Build changes, and delete timings
LeavesMC/Leaves@fcc859dc Fix API patches (#406)
LeavesMC/Leaves@6a1259df 0006/0129
LeavesMC/Leaves@3e3b05df 0009/0129
LeavesMC/Leaves@c3255c4f 0011/0129
LeavesMC/Leaves@6284c7b6 0018/0129
LeavesMC/Leaves@7abdc88c 0030/0129
LeavesMC/Leaves@4d119ff9 0035/0129
LeavesMC/Leaves@60baed99 0043/0129
LeavesMC/Leaves@dc319d5b 0048/0129
LeavesMC/Leaves@73a505d5 0049/0129
LeavesMC/Leaves@016b29dd 0057/0129
LeavesMC/Leaves@c9cf5af8 0065/0129
LeavesMC/Leaves@330b79ff 0086/0129 (#408)
LeavesMC/Leaves@06c1d946 0087/0129
LeavesMC/Leaves@bf4bc284 0091/0129
LeavesMC/Leaves@102a3b70 0097/0129
LeavesMC/Leaves@53b43fed 0101/0129
LeavesMC/Leaves@892f3925 102/129
LeavesMC/Leaves@08c3043a 0107/0129
LeavesMC/Leaves@48764d8e 0112/0129
LeavesMC/Leaves@8380feff 0118/0129
LeavesMC/Leaves@e51603db 0129/0129, 100% patched
LeavesMC/Leaves@ef851152 fix some
LeavesMC/Leaves@9b7c6e88 server work
LeavesMC/Leaves@272b7dcb Protocol... (#409)
LeavesMC/Leaves@7be1bc97 Make jade better
LeavesMC/Leaves@5350f6ea Make action work
LeavesMC/Leaves@f07c26c8 fix action jar
2025-02-06 23:28:14 -05:00
Dreeam
e7b5078dce Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@742968e0 [ci/skip] Increase outdated build delay to two weeks (#12063)

Gale Changes:
Dreeam-qwq/Gale@57be1e6f Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@36a18d54 fix(mobs/ravager): add missing blocks to griefable list
PurpurMC/Purpur@fdc28eed Updated Upstream (Paper)
PurpurMC/Purpur@d8aadde1 [ci/skip] Update README.md (#1642)
PurpurMC/Purpur@9680ad8e [ci/skip] clean up unsafe enchants diff
2025-02-06 19:36:44 -05:00
Creeam
c963bb3315 Async task handling improvement (#209)
* All threads are core thread

* Drop later submitted pathfinding tasks if task before is not started yet

* Auto-resize is gone

* Refine error handling

* Handle rejected execution

* Limit size and schedule on EntityScheduler

* Allow pr to build

* Remove duplicate path handling
Since it's a very rare case and Kaiiju has already done something to handle this

* Update thread and logger name format

* Core pool to 1

* Revert entity scheduler changes

* Expose queue size to config

* Add reject policy config to pathfinding

* [ci/skip] To uppercase

* [ci/skip] Add co-authors

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
Co-authored-by: Altiami <yoshimo.kristin@gmail.com>
2025-02-06 15:12:44 -08:00
Kaan D.
175ff6feeb Use FastBitRadix on the NearestLivingEntitySensor (#212)
* Use Radix on the NearestLivingEntitySensor

* Since all distances are non-negative (distanceToSqr), the sign bit (bit 63) is always 0. Start sorting from bit 62 (the MSB of the exponent) instead of 63, saving one unnecessary pass.

* Fix sort issue while keeping the performance of it same

* Cleanup, make bucket size static

* Cleanup

* [ci/skip] Update patch comment
2025-02-06 22:02:25 +01:00
Dreeam
75eb088cc3 [ci skip] cleanup work finished 2025-02-03 20:45:19 -05:00
Dreeam
7e89480eef Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@1004374a Add further information to thread check errors
PaperMC/Paper@e2f0efd1 Remove nms.Entity#isChunkLoaded
PaperMC/Paper@54b2e9d9 Add buffer to CraftWorld#warnUnsafeChunk
PaperMC/Paper@d4a95784 Experimental annotation changes (#12028)
PaperMC/Paper@5bcfb12a Fix activation range config and water animal status (#12047)
PaperMC/Paper@e0711af5 Deprecate UnsafeValues#getSpawnEggLayerColor (#12041)
PaperMC/Paper@8927091a Do not record movement for vehicles/players unaffected by blocks
PaperMC/Paper@5395ae37 Fix composter block setting bukkit owner twice (#12058)

Gale Changes:
Dreeam-qwq/Gale@534623a0 Updated Upstream (Paper)
Dreeam-qwq/Gale@7274f287 Updated Upstream (Paper)
Dreeam-qwq/Gale@e9ffadfd Updated Upstream (Paper)
Dreeam-qwq/Gale@9e6d19de Updated Upstream (Paper)
Dreeam-qwq/Gale@f35382c4 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@9b575764 Updated Upstream (Paper)
PurpurMC/Purpur@88ed7442 Updated Upstream (Paper)
PurpurMC/Purpur@79c11927 only initialize the config once, closes #1637
PurpurMC/Purpur@c7bb955e Updated Upstream (Paper)
PurpurMC/Purpur@2fe4cf18 [ci/skip] fix indentation
PurpurMC/Purpur@65637fa6 fix(mobs/bee): Set `takes-damage-from-water` back to false by default, closes #1639
PurpurMC/Purpur@16cfd04b feat(mobs/bee): Add `can-instantly-start-drowning` option, defaults to `true`
PurpurMC/Purpur@4f481858 fix: correctly call force when sending particles
2025-02-03 15:56:12 -05:00
Dreeam
47847ebd51 [ci skip] cleanup 2025-01-30 16:03:24 -05:00
Dreeam
df28582c38 Fix disable moved wrongly 2025-01-29 22:18:14 -05:00
Dreeam
0b2da17697 Cleanup MultithreadedTracker deeper 2025-01-29 21:02:42 -05:00
Creeam
58cf07704c Auto resize tracker thread pool (#208)
* Cleanup sort

* auto resize

* Limit queue size and add RejectedExecutionHandler

* Flush queue on task rejection

* Move to inner class

* Math.max to choose higher one
2025-01-29 17:58:47 -08:00
Dreeam
c08e79f800 Fix build 2025-01-27 21:38:20 -05:00
Dreeam
d06fb16da3 Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@30fdfb1a [ci/skip] Fix docs for DamageResistant (#11992)
PaperMC/Paper@6b7650d8 Only add goat horn once (#12001)
PaperMC/Paper@30046e04 Fix a rare crash with a concurrent modification of scaled health attributes (#12002)
PaperMC/Paper@88bbead1 Flush regionfiles on save configuration option
PaperMC/Paper@336ea9df Check for empty when sending equipment changes (#12008)
PaperMC/Paper@939bb782 Add RayTraceConfigurationBuilder (#11907)
PaperMC/Paper@81bb82f5 Fix wrong piston world border check (#12007)
PaperMC/Paper@ce95b5d6 Use proper default for setting null display background color (#12010)
PaperMC/Paper@2477f1f6 [ci/skip] fix and improvements for docs in ConsumeEffect component (#11998)
PaperMC/Paper@fb5b173c Add PlayerClientLoadedWorldEvent (#11940)
PaperMC/Paper@3af5e771 Add Player#give (#11995)
PaperMC/Paper@7e21cb81 fix PlayerChangedMainHandEvent javadoc (#12020)
PaperMC/Paper@5a34bf04 Correctly retrun true for empty input shapes in EntityGetter#isUnobstructed
PaperMC/Paper@a392d475 Make Watchdog thread extend TickThread

Gale Changes:
Dreeam-qwq/Gale@f9080a7e Updated Upstream (Paper)
Dreeam-qwq/Gale@ff0596c1 [ci/skip] Fix upstream commit sh on mac
Dreeam-qwq/Gale@24970274 [ci/skip] Hermanez - Wutaf
Dreeam-qwq/Gale@85eabf60 [ci/skip] cleanup
Dreeam-qwq/Gale@7d9faf00 [ci/skip] cleanup & drop xor-shift random
Dreeam-qwq/Gale@7af04981 [ci/skip] cleanup
Dreeam-qwq/Gale@4d5d39df [ci/skip] Remove useless params standardize in upstream commit generator
Dreeam-qwq/Gale@964f16ff Updated Upstream (Paper)
Dreeam-qwq/Gale@0566a223 [ci/skip] cleanup
Dreeam-qwq/Gale@5e3f6740 [ci/skip] cleanup work finished
Dreeam-qwq/Gale@98a66cfb Updated Upstream (Paper)
Dreeam-qwq/Gale@f7736578 [ci/skip] Update upstreamCommit.sh
Dreeam-qwq/Gale@1c46c816 Updated Upstream (Paper)
Dreeam-qwq/Gale@2b0a4c09 [ci/skip] Skip tests during auto update validate phase

Purpur Changes:
PurpurMC/Purpur@4a0a86b9 Updated Upstream (Paper)
PurpurMC/Purpur@7399988c Fix hover in /plugins
PurpurMC/Purpur@5e5857dc [ci/skip] modify ci skip references in paper upstream commits
PurpurMC/Purpur@5583a3f1 Updated Upstream (Paper)
2025-01-27 20:08:18 -05:00
Creeam
223056a930 Cleanup Smart sort (#207) 2025-01-24 11:58:12 -08:00
Dreeam
73860cbe57 Revert "Fix new config can't be generated caused by wrong purpur config version condition"
This reverts commit b11b9bbc40.
2025-01-24 13:45:17 -05:00
Dreeam
0c123ba166 cleanup 2025-01-24 05:52:39 -05:00
Dreeam
26565ea357 [ci skip] cleanup 2025-01-24 04:51:24 -05:00
Dreeam
55cac358a5 cleanup 2025-01-23 19:58:47 -05:00
Dreeam
0ecd029919 [ci skip] cleanup 2025-01-23 19:57:34 -05:00
Dreeam
b9e1eac3a0 [ci skip] cleanup 2025-01-23 17:13:35 -05:00
Dreeam
90ac3178b7 Fix new config can't be generated caused by wrong purpur config version condition
It should be `<=` instead of `<`, to ensure older config and new generated config both can generate config keys under `world-settings.default.tools`.
(unless the config transfer version condition should be config version +1)
2025-01-23 12:17:33 -05:00
Dreeam
07b7aebd80 [ci skip] cleanup 2025-01-23 05:54:25 -05:00
Creeam
5498887e08 Update Faster random generator patch (#206) 2025-01-22 12:47:41 -08:00
Dreeam
c4f6505e6f [ci skip] cleanup 2025-01-21 13:22:08 -05:00
Dreeam
ffd718f6bf [ci skip] cleanup 2025-01-21 07:14:02 -05:00
Dreeam
bc87c65880 [ci skip] cleanup 2025-01-21 01:32:33 -05:00
Dreeam
1703f9af79 [ci skip] cleanup 2025-01-21 01:13:35 -05:00
Dreeam
6a5fc188a4 [ci skip] cleanup 2025-01-20 23:36:14 -05:00
Dreeam
dd36016bf3 Fix canHoldFluid cache 2025-01-20 03:48:04 -05:00
Dreeam
a7359c2b3d Drop correct item when stone cutter finished the cutting 2025-01-19 07:57:52 -05:00
Dreeam
5b5462f307 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@b7f79d4 Updated Upstream (Paper)
PurpurMC/Purpur@da0a61d [ci skip] move log4j plugin into proper location
PurpurMC/Purpur@1d0d781 fix rambar nbt value not being saved to player, closes #1632
PurpurMC/Purpur@a9bcd9f fix villager not restocking while lobotomized, closes #1629
PurpurMC/Purpur@9d1d9fd [ci skip] inline import
PurpurMC/Purpur@1b5ab0c Updated Upstream (Paper)
PurpurMC/Purpur@4b74604 [ci skip] enable caching (#1634)
2025-01-19 05:43:02 -05:00
Dreeam
2ad76ae0a5 Fix incorrect Minecraft -> Bukkit entity type cache obtain and update & Remove removed patches source 2025-01-19 04:17:14 -05:00
Dreeam
97c4794444 Move directory 2025-01-18 10:44:55 -05:00