9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2026-01-04 15:41:40 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
Dreeam
ff110e539d Update changes from ver/1.21.4 branch 2025-05-03 07:55:50 -04:00
Dreeam
3f20ea5c71 Cleanup 2025-05-02 22:22:53 -04:00
Dreeam
f1df5351ca Update PlayerInventoryOverflowEvent (#304)
* Add configurable option in config for PlayerInventoryOverflowEvent and able to define the class name of listener
* Update checking method for overflow items handling logic, only fire event when actual listener is listening to it.
2025-05-02 16:13:19 -04:00
Dreeam
00cd3cdcc8 Rebuild patches 2025-05-02 03:16:07 -04:00
Dreeam
acc71b20a9 Updated Upstream (Paper/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@89cdcba5 [ci/skip] Replace wiki mention for BlockType#isOccluding (#12446)
PaperMC/Paper@5f0b8292 Re-add chunk position check to regionfile recalculation patch
PaperMC/Paper@04b91129 Update projects dependents GitHub Action (#12436)
PaperMC/Paper@def0532f Fix writing headers and update to be more papery (#12459)
PaperMC/Paper@d22644aa Expand cooldown API (#12435)
PaperMC/Paper@df429932 Fix floating warning log when the kick event is canceled (#12374)
PaperMC/Paper@a820bdae [ci/skip] Some javadoc fixes
PaperMC/Paper@55f20209 Fix CCE in LingeringPotionSplashEvent (#12463)
PaperMC/Paper@1410a22b Fix passengers sending when riding players
PaperMC/Paper@767868dd Fix some components (#12457)
PaperMC/Paper@9cddf136 Fix portal create event block list (#12373)
PaperMC/Paper@a112d370 Fix horse_variant and tropical_fish_pattern (#12472)
PaperMC/Paper@a211ac2e Remove unused warning (#12478)
PaperMC/Paper@ae512811 Add isSuffocating to Block and BlockState (#12445)
PaperMC/Paper@3409e2d7 Mace was not included in the ENCHANTABLE MaterialSetTag (#12476)
PaperMC/Paper@1cfc96bc Add keyStream() API to registries (#12479)
PaperMC/Paper@3222985e [ci/skip] Rebuild patches
PaperMC/Paper@deaccd2c [ci/skip] Add file reference url to help.yml (#12481)
PaperMC/Paper@f86b4352 Add vault change state event (#12069)
PaperMC/Paper@3e3b42cd Update player chat session sync (#12382)
PaperMC/Paper@f8fa4f6f Add method to retrieve FishHook (#12310)
PaperMC/Paper@b9d3147d Use correct placed block position for sound (#12410)
PaperMC/Paper@952338b3 [ci/skip] Add missing exception docs to Player#listPlayer (#12488)
PaperMC/Paper@1db37853 [ci/skip] improve javadoc for off-hand swaps through getHotbarButton (#12489)
PaperMC/Paper@d1810f24 Allow Server#getDefaultGameMode before worlds are initialized (#12490)
PaperMC/Paper@02d20ff7 Fix NPE in Server#getMap before worlds are loaded (#12492)
PaperMC/Paper@9e873f50 Fix inconsistencies between offline/online spawn position getter (#11960)
PaperMC/Paper@fc0c3717 Fix handling of resultant crafting container from craftItemResult (#12307)
PaperMC/Paper@a7a76c8f Add methods for Armadillo (#12031)
PaperMC/Paper@a74400d9 Update adventure to 4.21.0 (#12499)
PaperMC/Paper@1e930763 Fix ipv6 loopback addresses being able to get connection throttled (#12155)
PaperMC/Paper@646b80ca Fix unnecessary map data saves (#12296)
PaperMC/Paper@e663f999 Add combat tracker API (#11853)
PaperMC/Paper@cd4fe5b7 [ci/skip] Drop non-applicable ATs (#12498)
PaperMC/Paper@5acfdd6a Fix save/load NaN Entity Motion (#12269)
PaperMC/Paper@2754d7c3 Add Throw EntityChangeBlockEvent for BrushableBlockEntity#brush (#12133)
PaperMC/Paper@567f63ae Parity for respawn events (#11792)
PaperMC/Paper@bc3d946f Normalizes CraftEntity#toString/getHandle (#12170)
PaperMC/Paper@0e9b94d5 Fix ItemStack amount issues with Chat Components (#12216)
PaperMC/Paper@835b9559 Add a method on InventoryView to get the MenuType (#12193)
PaperMC/Paper@c9411bfb Fix min ItemStack amount check for asHoverEvent (#12505)
PaperMC/Paper@1acf3b38 Infer block entity data in brigadier blockstate argument (#12197)
PaperMC/Paper@b9b3cd65 Use components instead of ChatColor in more places  (#12507)
PaperMC/Paper@ec421715 Add missing spaces back (#12508)

Purpur Changes:
PurpurMC/Purpur@c3870bda Updated Upstream (Paper)
PurpurMC/Purpur@8b5044e0 [ci/skip] add idea project icon
PurpurMC/Purpur@f2f682fb Updated Upstream (Paper)
PurpurMC/Purpur@bdeba761 Updated Upstream (Paper)
PurpurMC/Purpur@96f5b044 drop void damage height/damage migration
PurpurMC/Purpur@6cc78b63 Updated Upstream (Paper)
PurpurMC/Purpur@4ce97c1d [ci/skip] Update occurences of version numbers to 1.21.5 (#1658)
PurpurMC/Purpur@7f5c4036 Updated Upstream (Paper)
PurpurMC/Purpur@4fdf1d11 Updated Upstream (Paper)
PurpurMC/Purpur@8c77678e Updated Upstream (Paper)
2025-05-02 03:10:20 -04:00
Taiyou06
1ae641bb76 [ci skip] rebuild patches 2025-05-01 22:09:41 +02:00
Taiyou06
38a433852a Revert "fix async chunk sending buffer (#301)"
This reverts commit bd3eb337d0.
2025-05-01 21:32:38 +02:00
Dreeam
4586961036 Back port some Paper patches
* PaperPR: Add ticket on player join to avoid chunk
* PaperPR: Fix save/load NaN Entity Motion
* PaperPR: Fix unnecessary map data saves
2025-05-01 15:05:05 -04:00
Dreeam-qwq
2b13b38801 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@d5d63524 Updated Upstream (Paper)
2025-05-01 01:41:29 +00:00
hayanesuru
bd3eb337d0 fix async chunk sending buffer (#301)
* fix Async chunk sending buffer size

* cleanup

* synchronized write nonEmptyBlockCount

* increase buffer initial capacity

* fix block entity map data race

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-05-01 03:53:32 +03:00
HaHaWTH
97f0017519 Use a dedicated thread pool for PWT event rescheduling 2025-04-26 07:32:35 +14:00
Dreeam
68b642a7f8 Fix race condition in IteratorSafeOrderedReferenceSet (#278)
* Fix race condition in IteratorSafeOrderedReferenceSet

* Use cached firstInvalidIndex at the beginning of the method
2025-04-17 18:44:13 -04:00
Dreeam
c12312bc33 Update changes from ver/1.21.4 branch 2025-04-17 03:44:13 -04:00
Dreeam
dff5b11bd9 cleanup 2025-04-17 02:45:56 -04:00
Dreeam
3f4246fe9a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@a55345f9 Add support for deserializing manually deserialized items, also add caller note
PaperMC/Paper@2948eb29 Mitigate an issue when loading a spigot config with null spam exclusion entries
PaperMC/Paper@6c2b0378 Use correct saved data key for maps
2025-04-17 01:42:13 -04:00
Dreeam
3af60cbe46 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@de410d13 Fix reobf mappings regression in GameRules.Type (#12437)
PaperMC/Paper@33e8928f Add support for bonus chest configuration in WorldCreator (#12344)
PaperMC/Paper@723b511f Clone exit location passed to teleport event (#12354)
PaperMC/Paper@ed322043 Clone blockpos in InsideBlockEffectApplier record
PaperMC/Paper@6b4ad082 Add PlayerRespawnEvent#isMissingRespawnBlock (#12422)
PaperMC/Paper@c0bd5688 Add logic for Human canUseEquipmentSlot (#12433)
2025-04-14 21:30:21 -04:00
Dreeam
6345e99c97 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@d6ac530c [ci/skip] ignore deprecation or removal warnings
PurpurMC/Purpur@8c293626 [ci/skip] ignore deprecation or removal warnings
PurpurMC/Purpur@65b1288b Updated Upstream (Paper)
PurpurMC/Purpur@6be184ec Merge branch 'ver/1.21.4' into ver/1.21.5
PurpurMC/Purpur@0311dfcd Updated Upstream (Paper)
PurpurMC/Purpur@ecd0d703 Updated Upstream (Paper)
PurpurMC/Purpur@c5bb590f [ci/skip] Mention API Checks for CONTRIBUTING.md
PurpurMC/Purpur@96f0ee1e Add check for max growth age special case (#1652)
PurpurMC/Purpur@d4af7947 Add configurable smooth snow accumulation (#1651)
PurpurMC/Purpur@51aafbc7 Final 1.21.4 Upstream (Paper)
PurpurMC/Purpur@ba521eb6 read & write spawn data properly for placing spawners option
PurpurMC/Purpur@751d8388 fix color signs not working properly
PurpurMC/Purpur@f5a9280b Merge branch 'ver/1.21.4' into ver/1.21.5
PurpurMC/Purpur@f8450874 Updated Upstream (Paper)
2025-04-14 11:07:43 -04:00
Dreeam
d08d6116f0 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f00727c5 1.21.5
PaperMC/Paper@8eede4bb Fix AbstractHorse get/setSaddle
PaperMC/Paper@93b6829e Also fix AbstractHorse getSize and isEmpty
PaperMC/Paper@f517267c Add passthrough for air serialization
PaperMC/Paper@4511edb8 [ci/skip] Don't promote checking enchantment by legacy lore (#12421)
PaperMC/Paper@8f62e0fb Correctly order getArmorContents
PaperMC/Paper@652cea57 Allow `getAsString()`-ing non-persistent entities (#12424)
PaperMC/Paper@de64e704 Update spark
PaperMC/Paper@1b889688 Add Entity#isTrackedBy (#12332)
PaperMC/Paper@8ff94c63 Update a bunch of dependencies
PaperMC/Paper@79036210 Remove json-simple imports from API, keep it as implementation in server
PaperMC/Paper@dcb755ac Update log4j jd link
PaperMC/Paper@91bfb6fb Fix freeze locked (#12434)
PaperMC/Paper@121a7bf4 Make GameRule a FeatureDependant (#12429)
PaperMC/Paper@7d5695d7 Improve ItemMeta#hasCustomModelData compatibility (#12414)
2025-04-14 10:52:33 -04:00
Dreeam
d5d6ac4a44 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@d4af7947 Add configurable smooth snow accumulation (#1651)
PurpurMC/Purpur@51aafbc7 Final 1.21.4 Upstream (Paper)
2025-04-13 19:43:38 -04:00
Dreeam
caf961ac08 Updated Upstream (Purpur)
Upstream has released updates that appear to apply and compile correctly

Purpur Changes:
PurpurMC/Purpur@135e2c41 Updated Upstream (Paper)
PurpurMC/Purpur@e19b6707 Updated Upstream (Paper)
PurpurMC/Purpur@304174ec Updated Upstream (Paper)
PurpurMC/Purpur@4a3b139f Updated Upstream (Paper)
PurpurMC/Purpur@a14011f4 Updated Upstream (Paper)
PurpurMC/Purpur@3a1b29a9 [ci/skip] Updated Upstream (Paper)
PurpurMC/Purpur@5d1df704 Updated Upstream (Paper)
PurpurMC/Purpur@bc8c597b Updated Upstream (Paper)
PurpurMC/Purpur@ca56b414 Updated Upstream (Paper)
PurpurMC/Purpur@75efb975 Updated Upstream (Paper)
PurpurMC/Purpur@9249a2ca Updated Upstream (Paper)
PurpurMC/Purpur@8c293626 [ci/skip] ignore deprecation or removal warnings
PurpurMC/Purpur@65b1288b Updated Upstream (Paper)
PurpurMC/Purpur@96f0ee1e Add check for max growth age special case (#1652)
2025-04-12 16:47:06 -04:00
Dreeam
19c6e4028a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@7612b5d0 Add identifier comparator for Plugin tickets
PaperMC/Paper@35b466e3 Add support for getting data components from entities
PaperMC/Paper@9f50f858 patch
PaperMC/Paper@42623c4b no patch
PaperMC/Paper@0cf73158 Bump to adventure 4.20.0 (#12391)
PaperMC/Paper@e8eba887 Merge remote-tracking branch 'origin/main' into update/1.21.5
PaperMC/Paper@212dfc94 Correctly track raw data reader index for antixray
PaperMC/Paper@cb0676a4 Commodore for Potions and Cows
PaperMC/Paper@62256c51 add missed cow diff
2025-04-10 05:03:36 -04:00
Dreeam
7110f539c7 Apply all 2025-04-08 17:15:31 -04:00
Dreeam
339bff6a8a Fix plugin compatibility
Fix checking whether inventory owner is player in calling PlayerInventoryOverflowEvent
2025-04-08 14:39:30 -04:00
Dreeam
e5dd121809 Lost Frequencies - Black Friday 2025-04-07 19:46:00 -04:00
Dreeam
5e1be48cf8 Some work 2025-04-07 11:35:31 -04:00
Dreeam
9eca4c0c74 Apply Purpur Paper patch 2025-04-07 00:48:09 -04:00
Dreeam
b237afbcfd Some fixes 2025-04-02 21:19:23 -04:00
Dreeam
8b8cc98e30 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@cdad49b7 Do not mark plugin tickets as forced; keep correct ticket types
PaperMC/Paper@a1c4fc96 Add generic ticket identifier
PaperMC/Paper@745881bb Update Moonrise common for 1.21.5
PaperMC/Paper@e9d00eb6 Apply Moonrise patch
PaperMC/Paper@ef0f0d10 Copy Moonrise 1.21.5 update over
PaperMC/Paper@cc0f25cb Apply more feature patches
PaperMC/Paper@e7b684ed fix
PaperMC/Paper@71ccae07 Revert "move block data/state impl"
2025-04-02 16:27:31 -04:00
Dreeam
701fc29fb8 Add missing diff 2025-04-01 02:18:03 -04:00
Dreeam
37b9d6b0bf Some paper patches work 2025-03-31 18:00:57 -04:00
Dreeam
ba43fad40e Fix build 2025-03-31 16:33:30 -04:00
hayanesuru
f1a31d88c8 Add timeout to AsyncPlayerDataSaving (#275)
* Add timeout to AsyncPlayerDataSaving

* dump thread if failed to save playerdata

* PlayerDataStorage#lockFor break loop after cancel
2025-03-31 18:34:44 +03:00
Dreeam
c8ba5fedc8 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9b1798d6 Simplify custom payload handling (#12347)
PaperMC/Paper@2552abf0 fix message mutation in PlayerSetSpawnEvent
PaperMC/Paper@ae99e24f fix deprecated bungee chat api methods
PaperMC/Paper@dca4aab8 add util methods to CraftChatMessage
PaperMC/Paper@87c9d9b0 be more lenient on url parsing for legacy format
PaperMC/Paper@4a9bd2e3 Correctly clear items in PlayerDeathEvent
PaperMC/Paper@a70f7745 fix unsaveable launched trident
PaperMC/Paper@41a094cf move block data/state impl
PaperMC/Paper@6b26b219 remove hardcoded durability from material
PaperMC/Paper@db8c646d Merge remote-tracking branch 'origin/main' into update/1.21.5
2025-03-31 09:53:16 -04:00
Dreeam
514bc79578 Some Gale minecraft patches work 2025-03-28 23:08:54 -04:00
Dreeam
2f8915ce2b cleanup 2025-03-28 16:22:53 -04:00
hayanesuru
233da80a87 Update async playerdata saving (#269) 2025-03-28 17:25:23 +03:00
Dreeam
893ab16248 Gale paper server patches work 2025-03-28 05:02:44 -04:00
Dreeam
236010caba Cooking Tutorial
1. Wet the drys
2. Dry the wets
3. Wet the drys
4. Dry the wets
5. Wet the drys
6. Now dust the wets
2025-03-28 03:11:27 -04:00
Dreeam
c36c34cf85 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9b1798d6 Simplify custom payload handling (#12347)

Gale Changes:
Dreeam-qwq/Gale@ffc98037 Updated Upstream (Paper)
2025-03-27 16:24:19 -04:00
Taiyou06
89b317a1b0 PWT Fix: potentially fix BlockSpreadEvent 2025-03-26 18:46:06 +01:00
Dreeam
a7515a3918 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9f004614 Update a whole lot of deprecated annotations
PaperMC/Paper@72f13f8b [ci/skip] Mention API Checks for CONTRIBUTING.md (#12315)
PaperMC/Paper@7cc6cb50 Check for trailing input in ItemFactory#createItemStack (#12312)
PaperMC/Paper@f49d18df Add get/set customName to Skull block (#12302)
PaperMC/Paper@894631f0 Make advancement ordering predictable (#12292)
PaperMC/Paper@2aad131e Add config option for command spam whitelist
PaperMC/Paper@bb3b7e69 Fix annotation mistakes
PaperMC/Paper@058455e4 InventoryView QOL open method (#12282)
PaperMC/Paper@f2258582 Fix firework entity not being removed when FireworkExplodeEvent is cancelled (#12268)
PaperMC/Paper@7819df10 Add getHeight method to ChunkData (#12311)
PaperMC/Paper@37b9ca1f Add flush parameter to World#save (#12330)
PaperMC/Paper@515e12ca Check if BUNDLE_CONTENTS is present in InventoryClickEvent (#12321)
PaperMC/Paper@5a6ab97b Add config to remove player as vehicle restriction in /ride (#12327)
PaperMC/Paper@c467df95 Add ItemStack#copyDataFrom (#12224)

Gale Changes:
Dreeam-qwq/Gale@d5143ee0 Updated Upstream (Paper)
Dreeam-qwq/Gale@63c396e7 Updated Upstream (Paper)
Dreeam-qwq/Gale@5c2147b4 Updated Upstream (Paper)
Dreeam-qwq/Gale@804ecea0 Rebuild patches
2025-03-25 03:09:21 -04:00
Creeam
dab3ca7e0d Band-aid fix for async events (#266) 2025-03-23 21:43:45 +03:00
Taiyou06
4c947f92ce add temporary compatibility for plugins to PWT 2025-03-22 14:20:34 +01:00
Dreeam
c276c2ba48 [ci skip] cleanup 2025-03-21 08:54:57 -04:00
Altiami
5afb65758c fix plugin interference with portal handling + fix missing thread local modification substitution for handling block spread (#262) 2025-03-20 13:12:19 +03:00
Taiyou06
b2c93c55a9 Fix skip EntityScheduler's executeTick checks if there isn't any tasks to be run 2025-03-20 08:56:52 +01:00
Dreeam
e34228f143 Readd Paper PR: Throttle failed spawn attempts 2025-03-19 13:52:03 -04:00
Dreeam
52477a91ae Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f4f27551 [ci/skip] Clarify BlockFadeEvent#getNewState javadocs (#12250)
PaperMC/Paper@102c8bbc Add config for updating equipment on player actions (#12275)
PaperMC/Paper@f0388e2f Call EntityPushedByEntityAttackEvent for Mace AoE (#12257)
PaperMC/Paper@c37b890c More deferred requireNonNull message creation
PaperMC/Paper@310f5229 Add unsupported config option and internal API to simplify remote item matching
PaperMC/Paper@6ea42025 Send all attributes on respawn (#12274)
PaperMC/Paper@2d3a1385 [ci/skip] Refine recipe management API documentation. (#12287)
PaperMC/Paper@aaaeb4e1 [ci/skip] Make compilation logs actually readable (#12276)
PaperMC/Paper@bb1beda6 feat: add event to wind charge explode (#12248)

Gale Changes:
Dreeam-qwq/Gale@43bfa513 Updated Upstream (Paper)
Dreeam-qwq/Gale@ab0a7189 Updated Upstream ()
Dreeam-qwq/Gale@27ddb2fa [ci/skip] Added merge announcement
Dreeam-qwq/Gale@523e7745 [ci/skip] Fix announcement format
Dreeam-qwq/Gale@d91ed070 [ci/skip] Update annocement
2025-03-17 14:30:27 -04:00
Altiami
2d6e6b28f3 SparklyPaper: Parallel world ticking (#246)
* SparklyPaper: Parallel world ticking

* per world mspt (/leaf mspt)

* fix chunk loading off-main violations

* rebase and make tpsbar per world

* temp fix for async chunk sending crash

* add /leaf mspt compact and more cleanup

* TCRF SparklyPaper (Pathothingi): Fix Nether and End portals for non-player entities

* fix Potothingi's name

* change thread name

* fix plugin related async ticks (hopefully)

* Revert "fix plugin related async ticks (hopefully)"

This reverts commit 7a9b79adc538989ecbec162dd377245706522a87.

* Add more config guards

* rebase on upstream

* actually add the paper patches

* fix villagers failing to release poi

* rebase

* make async chunk send work with parallel world ticking again

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
2025-03-17 17:54:12 +03:00
Dreeam
5603fe2984 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@8e69d981 Player - Expose player score (#12243)
PaperMC/Paper@2526fe06 Add type to represent unimplemented data component types (#12222)
PaperMC/Paper@20df25d3 Don't resync all attributes when updating scaled health (#12232)
PaperMC/Paper@43f37b1b Remove ItemFactory#enchantWithLevels range check for vanilla parity (#12209)
PaperMC/Paper@a2b0ff06 Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)
PaperMC/Paper@df96f8a0 Correctly handle events for end portal (#12246)
PaperMC/Paper@25654978 Cancel PlayerLaunchProjectileEvent properly for enderpearls (#12223)
PaperMC/Paper@34c794dc ServerTickManager#requestGameToSprint - Silence command like feedback (#12220)
PaperMC/Paper@3d13b115 fix: switch back to using a snapshot for velocity-natives
PaperMC/Paper@7afae7f4 Add client tick end event (#12199)
PaperMC/Paper@e5d988df Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)"
PaperMC/Paper@743346a5 Force update attributes
PaperMC/Paper@1a7288aa Adjust unloaded chunk check for block digging

Gale Changes:
Dreeam-qwq/Gale@7fa44170 Updated Upstream (Paper)
Dreeam-qwq/Gale@071288bc Updated Upstream (Paper)
Dreeam-qwq/Gale@52645592 Updated Upstream (Paper)
2025-03-09 15:30:21 -04:00