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

558 Commits

Author SHA1 Message Date
hayanesuru
53f6cb4e4d typo optimize-random-tick config 2025-07-10 18:36:28 +09:00
Dreeam
ada68f0d1a Cleanup get java version & SIMD util
- Use modern API which introduced since Java 10 to get java major version
- Remove useless fields in SIMD util, Java 21+ supports SIMD.
2025-07-10 00:15:42 +08:00
HaHaWTH
b17348bdf9 Cleanup FMA system property parsing 2025-07-10 02:48:19 +14:00
Dreeam
a9c10502d5 Format patch & get fluidstate from blockstate, instead of from level 2025-07-09 06:41:16 +08:00
Dreeam
87c17a40cc Apply default item pickup delay in throwing item for non-villager entity
With Minecraft updates, allay and pligin also have throw item behavior, calling this method.

Needs to keep item pickup delay since they are not villager entity, and also be consistent with vanilla
2025-07-09 04:29:58 +08:00
Dreeam
3c25377465 Drop some unused patches
ClassInstanceMultiMap belongs to Minecraft vanilla entity storage.
And is unused, since replaced by spottedleaf's entity storage (rewrite chunk system).
However these patches might be useful for vanilla entity storage if is used.
2025-07-09 04:20:02 +08:00
Taiyou06
d041342e8a drop ReduceChunkSourceUpdates 2025-07-08 20:28:58 +02:00
hayanesuru
a0089ffaa9 fix reduce-chunk-source-updates config disappear 2025-07-08 23:45:54 +09:00
hayanesuru
ac6e483e8d fix async mob spawning TRACKED entities not count (#393)
* fix unloaded and TRACKED entities not count

#392

* move to archived
2025-07-08 22:54:12 +09:00
hayanesuru
88303ed880 fix phrasing 2025-07-08 20:05:51 +09:00
Taiyou06
2a3d1c46ee [ci skip] fix ReduceChunkSourceUpdates wording 2025-07-08 12:48:57 +02:00
Taiyou06
c87b046a04 toggleable async catcher 2025-07-08 12:30:06 +02:00
Dreeam
495cc7c0b4 Update Cache FluidOcclusionCacheKey hash
Original BlockStatePairKey is unused, and replaced by spottedleaf's FluidOcclusionCacheKey, so move to there
2025-07-08 04:53:06 +08:00
Dreeam
445186994f [ci skip] Update some patch comments 2025-07-08 00:29:01 +08:00
Dreeam
b095bee8df Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f7d5a0a0 [ci/skip] Add remote build cache configuration through Gradle properties (#12797)
PaperMC/Paper@b4466ec9 Dialog API (#12671)
2025-07-07 22:42:05 +08:00
Dreeam
69c285eb4c [ci skip] cleanup 2025-07-07 03:51:07 +08:00
Dreeam
f2ca28183f Cleanup 2025-07-06 20:08:35 +08:00
Dreeam
1eeda75d3b Fix predict Halloween date check 2025-07-06 18:49:23 +08:00
hayanesuru
ee45897239 fix reduce chunk source updates position check and mark experimental 2025-07-06 00:41:59 +09:00
HaHaWTH
becff2ac20 Fix Paper config fixClimbingBypassingCrammingRule 2025-07-06 00:16:40 +14:00
hayanesuru
ebfb4e17d2 fix incorrect entity size in async tracker 2025-07-05 17:27:52 +09:00
hayanesuru
7e5b4707ef cleanup 2025-07-05 17:05:54 +09:00
hayanesuru
83f5b0851c fix random value bounds in optimize mob spawning 2025-07-05 05:34:19 +09:00
HaHaWTH
5601d60ca4 Change radix sort threshold to 6 2025-07-04 21:58:18 +14:00
hayanesuru
a80d2bd374 cancel async target finding when entity removal 2025-07-04 16:11:17 +09:00
hayanesuru
8e2a94a7d2 fix async EndermanAttackPlayerEvent 2025-07-04 15:52:39 +09:00
hayanesuru
b904e81e27 remove capture world in async target finding 2025-07-04 15:52:39 +09:00
hayanesuru
7b8c74e584 fix entity activation data race 2025-07-04 14:20:34 +09:00
hayanesuru
f7f7bb772e fix waypoint check 2025-07-04 03:48:36 +09:00
hayanesuru
eb760fb69c fix player alive check and add optimize despawn 2025-07-04 03:35:33 +09:00
hayanesuru
9bf04bdb11 optimize waypoint 2025-07-04 03:13:46 +09:00
hayanesuru
6bc70724a4 optimize no action time 2025-07-04 03:12:10 +09:00
hayanesuru
38658070f5 add comment throttle mob spawning 2025-07-03 17:23:50 +09:00
HaHaWTH
437e63e61c Fix DAB condition 2025-07-03 03:50:09 +14:00
hayanesuru
b6972a770f fix biome cache alloc during world gen 2025-07-02 21:54:17 +09:00
HaHaWTH
954eef4b5a FastBiomeManagerSeedObfuscation no longer experimental 2025-07-03 01:56:03 +14:00
HaHaWTH
d312323458 Datapack functions optimization 2025-07-03 01:40:35 +14:00
Dreeam
199749f50d Do thread check if async mob spawn enabled 2025-07-02 18:07:13 +08:00
hayanesuru
7c2174d91e purpur diff 2025-07-02 18:52:25 +09:00
Dreeam
419ae9c420 Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@6ea679eb Allow listening to plugin messages during configuration phase (#12775)
PaperMC/Paper@c3be00f0 Always call plugin message dispatch on PlayerConnection
PaperMC/Paper@3fec37a9 Move the double call into the dispatch method
PaperMC/Paper@108255cb Reduce PlayerLoginEvent alt behavior nag for now (#12782)
PaperMC/Paper@2141ca52 Port plugins command to brigadier (#12632)
PaperMC/Paper@0cadaefc Fix quitmessage nullability issues (#12783)

Purpur Changes:
PurpurMC/Purpur@2d8cdd15 Updated Upstream (Paper)
2025-07-02 15:48:00 +08:00
Dreeam
47ac7c20cd Bring back only do defrag on main thread from Paper 1.20.4 2025-07-01 22:08:02 +08:00
Dreeam
0912dd341c Update Leaf 1.21.7 2025-07-01 17:53:06 +08:00
Dreeam
c72f7dab2d Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@4d854e66 Disable MC-163962 fix by default

Purpur Changes:
PurpurMC/Purpur@04a9045d Fix phantom high speed by modifying the speed: Part 2 (#1682)
PurpurMC/Purpur@175bb181 [ci/skip] micro opt when applying block friction on flying ridable mobs
PurpurMC/Purpur@d0b705e4 Updated Upstream (Paper)
PurpurMC/Purpur@3658291d Fix llama not moving when ridden, Fixes #1507 (#1684)
PurpurMC/Purpur@051566db check for purpur.debug.f3n on new serverbound change gamemode packet, closes #1683
PurpurMC/Purpur@a112b6ac Final 1.21.6 Upstream (Paper)
2025-07-01 14:23:50 +08:00
Dreeam
e9db24dbd8 Fix diff 2025-06-30 06:26:23 +08:00
Dreeam
66887e3367 Update Leaf 1.21.6 (#385)
* Init 1.21.6

* Finish API patches

* Apply purpur patches & all paper server patches

* Apply some

* Apply all

* Updated Upstream (Paper/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@6aafe29e 1.21.6 dev
PaperMC/Paper@ae7c74ec tweak mob goal keys, generate missing api
PaperMC/Paper@9ea1460b Revert "fix sponge-absorb deleting chest content (#12647)"

Purpur Changes:
PurpurMC/Purpur@eb0ba67d Updated Upstream (Paper)
PurpurMC/Purpur@7c6502dc Updated Upstream (Paper)
PurpurMC/Purpur@aa289e2c Updated Upstream (Paper)
PurpurMC/Purpur@b1d412fb Updated Upstream (Paper)
PurpurMC/Purpur@293e28a0 use empty registryaccess where context is not needed, closes #1676
PurpurMC/Purpur@452bb319 port PaperMC/Paper#12654, closes #1665
PurpurMC/Purpur@849bc79c register test subcommands used for debugging, closes #1675

* Fix build & diff

* Update vanilla attribute size

* [ci/skip] Forget to remove this

* Updated Upstream (Paper/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@a24f9b20 1.21.6 dev
PaperMC/Paper@457a0a69 Bump version string and protocol version to 1.21.6 release
PaperMC/Paper@245b5473 Update base to 1.21.6
PaperMC/Paper@b28d77b3 Update Moonrise to 1.21.6
PaperMC/Paper@8318dcb7 Update DataConverter to 1.21.6-rc1

Purpur Changes:
PurpurMC/Purpur@b228e316 Updated Upstream (Paper)
PurpurMC/Purpur@d6562a57 make happy ghast takes-damage-from-water and always-drop-exp options work
PurpurMC/Purpur@08d989b6 inline import
PurpurMC/Purpur@61d7f559 Updated Upstream (Paper)
PurpurMC/Purpur@469a4de5 Merge branch 'ver/1.21.5' into ver/1.21.6

* Updated Upstream (Paper)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@d2b1158e Set correct world access on BSL snapshots

* Updated Upstream (Paper)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@023e6c29 Ensure waypoints are per world
PaperMC/Paper@40d5d31c Fix recursively converting JSON Text Components

* Update spigot mapping to remap reobf mapping to mojamp for plugins

* Updated Upstream (Paper/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@1fcc4162 Implement FeatureHooks#isChunkSent for Moonrise chunk system
PaperMC/Paper@e4d7178a Implement WaypointTransmitter#isChunkVisible
PaperMC/Paper@8980ead7 Directly walk text component after converting from JSON
PaperMC/Paper@5613ed6d Provide env environment variable and copy spigots sys prop for overriding default repository
PaperMC/Paper@62b7f86d Avoid and discourage use of Maven Central as a CDN (#12689)
PaperMC/Paper@f5534cb7 [ci/skip] Run generators (#12691)
PaperMC/Paper@4781d28b Re-add Log4j Javadocs (#12693)
PaperMC/Paper@74fbcce5 Check type of Material in get/set stats (#12607)
PaperMC/Paper@4b3f967e Improve Fix MC-44654 (#12703)
PaperMC/Paper@a7dd2635 Enable spigot obfuscation support (#12695)
PaperMC/Paper@6a51c44e Cleanup Primed TNT Fix (#12704)
PaperMC/Paper@839c6a18 Fix #11169 (#12706)
PaperMC/Paper@c77d5f99 Fix MC-297591
PaperMC/Paper@219f86ee Implement chunk unload delay config option
PaperMC/Paper@e4eb69b8 Do not allow ticket level decreases to be processed asynchronously
PaperMC/Paper@71b0c768 Adds support for vanilla negative explosions (#12705)
PaperMC/Paper@3750927a [ci/skip] Fix PermissionManager#clearPermissions() docs bad wording (#12657)
PaperMC/Paper@d61a51e8 Add ItemType#getBurnDuration() (#12604)
PaperMC/Paper@29fc8532 Allow empty paths in namespaced keys (#12687)
PaperMC/Paper@4419afb9 fix: Safely handle nanosecond overflow in ClickCallback (#12686)
PaperMC/Paper@56528821 Add `isProxyEnabled` method to ServerConfiguration (#12664)
PaperMC/Paper@c0dda0ea Add `isForceDefaultGameMode` method (#12673)
PaperMC/Paper@e714de63 Fix excess slot updates
PaperMC/Paper@6d0821d2 [ci/skip] Fix docs for Spawner class and cleanup (#12710)
PaperMC/Paper@cceffe3d Release ItemType and BlockType (#12708)
PaperMC/Paper@186e9e33 Relocate CommandMap#registerServerAliases() call to after lifecycle events have been run (#12601)
PaperMC/Paper@5edcf6dd Cleanup/command dispatching (#12713)

Purpur Changes:
PurpurMC/Purpur@baa196f5 Updated Upstream (Paper)
PurpurMC/Purpur@fdd1e980 Updated Upstream (Paper)
PurpurMC/Purpur@439f15db Updated Upstream (Paper)
PurpurMC/Purpur@46a28b93 [ci/skip] update version in README
PurpurMC/Purpur@162bd288 Updated Upstream (Paper)
PurpurMC/Purpur@afcdf9bb Updated Upstream (Paper)

* fix random tick order

Signed-off-by: hayanesuru <hayanesuru@outlook.jp>

* update optimize random tick

* fix mob spawning over limit

* optimize mob spawning

* fix FastBitRadixSort memory leak

* optimize brain collections

* [ci/skip] update comments

* Revert "fix FastBitRadixSort memory leak"

This reverts commit bdea683525.

* optimize brain collections

* fix async mob spawning data race

* [ci/skip] cleanup

* remove hash lookup in optimize random tick

* Updated Upstream (Paper/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@803baf0b Support hidden entities in Waypoints (#12715)
PaperMC/Paper@1814d8b4 build: publish to fill (#12717)
PaperMC/Paper@e454fef4 Add support for private constructors in plugin main classes (#12652)
PaperMC/Paper@d0e808f4 Move player to correct position in vehicle move packet handler
PaperMC/Paper@46b4b0b8 Improve keepalive ping system
PaperMC/Paper@38c1ddb5 Add and use FeatureHooks.getAllEntities
PaperMC/Paper@2f083acb Ensure player entity schedulers are ticked when they are dead
PaperMC/Paper@7c90c7c4 Optimise EntityScheduler ticking
PaperMC/Paper@aa6ee44a Re-add global region scheduler tick erroneously removed in last commit
PaperMC/Paper@d7510efc Fix #12722 (#12726)
PaperMC/Paper@0caf75f8 Fix #12721 (#12725)
PaperMC/Paper@bee28792 Adventure 4.23.0 (#12690)
PaperMC/Paper@692e93a9 Fix MC-299110
PaperMC/Paper@ea10fa4a Don't mutate the position of Items for MC-4 Fix (#12702)
PaperMC/Paper@aa6cd74c Remove unnecesary item check for ServerboundPlayerActionPacket RELEASE_USE_ITEM (#12668)
PaperMC/Paper@c9e89f49 Expose arrow velocity in EntityShootBowEvent for mobs (#12688)
PaperMC/Paper@7ec3174a Jump out of experimental phase
PaperMC/Paper@4e1a2555 Update try catch for command handling
PaperMC/Paper@e382e687 Fix 0 yield on explosion events
PaperMC/Paper@35b2c6ec Use dropped item for stats info (#12747)
PaperMC/Paper@bd79e20c [ci/skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723)

Purpur Changes:
PurpurMC/Purpur@4a5974cf Updated Upstream (Paper)
PurpurMC/Purpur@3893bba0 this is important...
PurpurMC/Purpur@47e758fb Updated Upstream (Paper)

* Update PWT patch

* cleanup

* fix playermobcaps command

* fix Didn't fill chunk buffer in async chunk sending

* cleanup

* fix HurtByTargetGoal npe

* optimize collectSpawningChunks (#382)

* optimize collectSpawningChunks

* add bit set

* cleanup

* cleanup

* cleanup

* cleanup

* Updated Upstream (Paper/Purpur)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@57c202e0 Allow adventure nbt codec to parse all tags

Purpur Changes:
PurpurMC/Purpur@a4776d7b Updated Upstream (Paper)
PurpurMC/Purpur@dfd8a7ad Fix phantom going at high speed when ridden (#1680)

* Fix diff

---------

Signed-off-by: hayanesuru <hayanesuru@outlook.jp>
Co-authored-by: hayanesuru <hayanesuru@outlook.jp>
2025-06-30 05:17:33 +08:00
Dreeam
d1eb927f3a [ci skip] Update TODO 2025-06-30 02:16:54 +08:00
Dreeam
5c7001ac97 Fix build 2025-06-30 02:04:19 +08:00
Dreeam
4c221a03ed Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@e3b0cf4a Fix tripwire with end platform (#542)
LeavesMC/Leaves@8615b2f4 Recheck for null before handling player join (#550)
LeavesMC/Leaves@093b9290 Fix protocol bugs (#537)
LeavesMC/Leaves@852184c1 Vanilla Fluid Pushing (#547) (#551)
LeavesMC/Leaves@911ec9b9 Fix Carpet protocol (#552)
LeavesMC/Leaves@2654bf53 Fully rewrite I18n support (#545)
LeavesMC/Leaves@f33f5fea Refactor command system, fix bugs (#573)
LeavesMC/Leaves@6c07912d Remove Force peaceful mode switch (#265) (#579)
LeavesMC/Leaves@2dcf9f85 Fix spawnInvulnerableTime (#583)
LeavesMC/Leaves@6d76c1f1 Fix unexpected IOE (#582)
LeavesMC/Leaves@3187d77f Fix IAE update suppression crash (#581)
2025-06-30 01:34:04 +08:00
Dreeam
ebce26c051 Update changes from ver/1.21.4 branch 2025-06-30 01:33:00 +08:00
Dreeam
050d22bb7e [ci skip] Update leaves patch 2025-06-30 01:25:38 +08:00