9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-24 01:19:25 +00:00
Commit Graph

604 Commits

Author SHA1 Message Date
Dreeam
4548da8fd6 Fix popup still appear if chat signature disabled
Set enforce secure chat to true in login packet to remove popup when disabled the chat signature.
2024-09-25 10:10:56 -04:00
Dreeam
023fc3b683 Improve MC-183518 fix (#124)
Co-authored-by: Kobe ⑧ <102713261+HaHaWTH@users.noreply.github.com>
2024-09-25 09:42:52 -04:00
Dreeam
7e39ec4d17 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@78feecb Deprecate BlockType#isInteractable (#11427)
PaperMC/Paper@1cb2bf4 Add velocity forwarding secret env override (#10127)
PaperMC/Paper@81d9448 Add ItemStack array serialization methods (#10387)
PaperMC/Paper@2f50b87 Fixup command precprocess cancellation (#11424)
PaperMC/Paper@540deb7 Fix Color Particle API (#10895)
PaperMC/Paper@e8297c4 Expand out datapack API (#10828)
PaperMC/Paper@4514c71 Only call EntityPortalExitEvent if entity is actually in a portal
PaperMC/Paper@acdd6d3 make MenuType implement FeatureDependant
PaperMC/Paper@9b1ee0d Add missing key files and cleanup registry definition order
PaperMC/Paper@1bc02e6 Fix tag lifecycle event handlers not disabling /reload

Gale Changes:
Dreeam-qwq/Gale@7dbafa8 Updated Upstream (Paper)
Dreeam-qwq/Gale@030aa7e Updated Upstream (Paper)
Dreeam-qwq/Gale@6d51182 Updated Upstream (Paper)
Dreeam-qwq/Gale@669798b Updated Upstream (Paper)
2024-09-25 04:05:46 -04:00
Dreeam
ef7eeb8018 [ci skip] Fix cn issue template style 2024-09-23 17:07:33 -04:00
Dreeam
99d095f646 [ci skip] Improve issue template checklist 2024-09-23 17:03:10 -04:00
Dreeam
d8ff3fe0cc [ci skip] Fix issue template head syntax 2024-09-23 16:42:21 -04:00
Dreeam
aba0995736 Update workflow to publish API automatically 2024-09-23 13:28:22 -04:00
Dreeam
e62b6fc77d Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9c45038 Return null in getRegistry(Class) for unknown type (#11422)
PaperMC/Paper@d611754 Disable pretty printing for advancement saving (#11419)
PaperMC/Paper@5bcb2ff Correctly launch WindCharges (#11418)
PaperMC/Paper@593faf4 Create TileStateInventoryHolder (#11420)
PaperMC/Paper@1ed64f8 Update launchProjectile API (#11300)

Gale Changes:
Dreeam-qwq/Gale@23d6c25 Drop `Improve container checking with a bitset`, since caused performance regression on 1.21.1
2024-09-22 06:42:46 -04:00
Dreeam
40592d097a Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@4033006 Updated Upstream (Paper)
2024-09-22 01:40:47 +00:00
Dreeam
d233f6bfd8 Update, cleanup Purpur afk improvement patch & Fix cooldown bypass issue for signed chat command 2024-09-21 02:21:38 -04:00
Dreeam
b67c6bf5f4 [ci skip] Fix typo 2024-09-20 23:11:53 -04:00
Dreeam
0abcfb4f61 [ci skip] Update issue template
Use spark profiler link to replace providing plugins list, Leaf version and configurations, since spark profiler already includes all of them above, and more useful information
2024-09-20 22:59:42 -04:00
Dreeam
29915218cb Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2aaf436 Validate slot in PlayerInventory#setSlot (#11399)
PaperMC/Paper@5c82955 Only mark decorations dirty if a removal actually occurs (#11413)
PaperMC/Paper@c5a1066 Remove wall-time / unused skip tick protection (#11412)

Gale Changes:
Dreeam-qwq/Gale@3a10fbf Updated Upstream (Paper)
2024-09-20 22:46:07 -04:00
Dreeam
356b3b42be [ci skip] Update upstream Gale repo link to my fork repo of Gale 2024-09-20 22:33:46 -04:00
Dreeam
22c56134a6 [ci skip] Update CONTRIBUTING.md 2024-09-20 22:31:08 -04:00
Dreeam
c6803be5c9 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@0f84477 Updated Upstream (Paper)
2024-09-18 01:40:54 +00:00
Dreeam
5cb2cb6287 Optimize active effects filter and map to particles in livingentity 2024-09-17 02:40:50 -04:00
Dreeam
f605a2a2d2 Fix tracker player NPE 2024-09-17 02:26:13 -04:00
Dreeam
8037489ef4 [ci skip] Add TODO for Change max stack count 2024-09-17 01:40:16 -04:00
Dreeam
337a94cda9 Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@d1a72ea Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11405)
PaperMC/Paper@0a53f1d Set default drop behavior for player deaths (#11380)
PaperMC/Paper@951e7dd Fix TrialSpawner forgetting assigned mob when placed by player (#11381)
PaperMC/Paper@13a2395 Fix enable-player-collisions playing sounds when set to false (#11390)
PaperMC/Paper@1348e44 Prevent NPE when serializing unresolved profile (#11407)

Gale Changes:
Dreeam-qwq/Gale@f346681 Updated Upstream (Paper)
Dreeam-qwq/Gale@bba1737 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@88352c3 Updated Upstream (Paper)
PurpurMC/Purpur@dee41bc Updated Upstream (Paper)
PurpurMC/Purpur@fdfc12e Updated Upstream (Paper)
PurpurMC/Purpur@bc7bcbb Fix elytra durability setting not working properly (#1589)
PurpurMC/Purpur@8af4ea6 Updated Upstream (Paper)
PurpurMC/Purpur@8332fa4 Updated Upstream (Paper)
2024-09-17 01:38:58 -04:00
Dreeam
0fd4eb732f Format & Fix patches 2024-09-16 03:01:59 -04:00
FallingKey
215089937e [ci skip] Add configurable max item stack count (#101)
* Add configurable items

* del

* Fix the configuration name and logic of the previous patch
2024-09-16 01:29:57 -04:00
alazeprt
3fc6616283 [ci skip] Add replay api (#115)
* Add replay api

* Merge the patches
2024-09-16 01:28:14 -04:00
Dreeam
f1c83329b7 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@4ff58c4 Update spark

Gale Changes:
Dreeam-qwq/Gale@a8d8e69 Updated Upstream (Paper)
2024-09-13 02:14:42 -04:00
Dreeam
40def3c9e4 [ci skip] Add Chinese issue template 2024-09-13 01:55:31 -04:00
Dreeam
5aca8c00df [ci skip] Update issue template 2024-09-13 01:22:36 -04:00
Dreeam
c28b3da00d Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@0e82527 Fix NPE while trying to respawn an already disconnected player (#11353)
PaperMC/Paper@5d91bef Fix shulkerbox loot table replenish (#11366)
PaperMC/Paper@a8e6a93 Deprecate for removal all OldEnum-related methods (#11371)
PaperMC/Paper@925c3b9 Add FeatureFlag API (#8952)
PaperMC/Paper@426f992 Enchantment is data-driven, so not FeatureDependant (#11377)
PaperMC/Paper@1ba1be7 Update Velocity natives again
PaperMC/Paper@7632de5 Tag Lifecycle Events (#10993)
PaperMC/Paper@b09eaf2 Add Item serialization as json api (#11235)
PaperMC/Paper@971a7a5 Add Decorated Pot Cracked API (#11365)
PaperMC/Paper@61fe23c deprecate isEnabledByFeature in Item/BlockType
PaperMC/Paper@e945cfe Fix PaperServerListPingEvent#getPlayerSample not being populated or used (#11387)

Gale Changes:
Dreeam-qwq/Gale@5b2f4f7 Updated Upstream (Paper)
Dreeam-qwq/Gale@e33d83d Remove vanilla profiler in tag lifecycle event
2024-09-12 08:52:16 -04:00
Dreeam
c5edeac381 Change to new QQ group 2024-09-10 19:50:26 -04:00
Dreeam
1ba88a3dc3 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@de9e804 Updated Upstream (Paper)
2024-09-08 01:40:54 +00:00
Dreeam
857b0ee356 Bump Velocity native dependency
Since velocity pushed a fix ~45 mins ago
2024-09-07 13:46:40 -04:00
Dreeam
73e4ddacf2 Revert Velocity native dependency to fix crash on alpine 2024-09-07 13:42:53 -04:00
Dreeam
ee03b86f4d Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b483da4 Update Alternate Current to v1.9 (#11333)
PaperMC/Paper@ff251e4 Use reference hash set in reference Holder (#11363)
PaperMC/Paper@691d452 Fix bundled spark permission check (#11355)
PaperMC/Paper@012c527 Update Velocity natives (#11347)
PaperMC/Paper@953e6e9 Fire BlockExpEvent on grindstone use (#11346)
PaperMC/Paper@10f5879 Change condition check order of entity tracking Y (#11348)
PaperMC/Paper@805a974 Improve console completion with brig suggestions (#9251)
PaperMC/Paper@e0021b1 Fix allowSpiderWorldBorderClimbing world config (#11321)
PaperMC/Paper@3db4758 Check dead flag in isAlive() (#11330)
PaperMC/Paper@21f125f Revert velocity natives to 3.1.2 (#11368)

Gale Changes:
Dreeam-qwq/Gale@ddbdf42 Updated Upstream (Paper)
Dreeam-qwq/Gale@62352a4 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@ef12ede Updated Upstream (Paper)
PurpurMC/Purpur@a61db94 Updated Upstream (Paper)
PurpurMC/Purpur@5c0d2f7 Updated Upstream (Paper)
PurpurMC/Purpur@49db849 Updated Upstream (Paper)
PurpurMC/Purpur@a43711d Updated Upstream (Paper)
PurpurMC/Purpur@0a9941e Updated Upstream (Paper)
2024-09-07 13:39:15 -04:00
Dreeam
c6a8f6335f Trigger build 2024-09-06 13:45:03 -04:00
Dreeam
43fae827ad Add Mutltithreaded Tracker & Async playerdata saving (#109)
* init Multithreaded Tracker

* Rebase & Clean up

* Some clean up

* Some work

* Checked some petal issues

* Fix tracker

* Unify thread name again

* Nitori: Async playerdata Save

* Rebase

* Fix Citizens player type NPC tracking issue (WIP)

Temporary move sendChanges to off-main only. This can fix Citizens's player type NPC visible issue. But still working on making updatePlayer async too, since it also takes big part of performance, and also need to be compat with Citizens.

* Drop useless patch

* Adjust comments

* Optimize tracker, batch processing sendChanges tasks

* Clean up and fix

* Rebase

* Partial update player asynchronously & Fix citizens player type NPC visual issue

This made async tracker compat with CItizens, but still need to further optimize

* Optimize and update config

* Fix realPlayer detect condition & Made more async & Update patch comment

* Add compat mode for tracker

By isolating Citizens compat logic into compat mode, it can gain more performance if Citizens is not installed.

* Update comment
2024-09-06 13:44:53 -04:00
Dreeam
bd74ab753a Update workflow 2024-09-05 19:06:35 -04:00
Dreeam
143e40279a Remove useless Event TriState async API 2024-09-03 15:27:31 -04:00
Dreeam
edaef875d1 Fix stuck on loading on some Linux machine caused by wrong common-lang3 dependency scope 2024-09-02 22:14:22 -04:00
Dreeam
c0f827cb67 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@6027593 Updated Upstream (Paper)
2024-09-02 01:41:04 +00:00
Dreeam
1a9ddb5ad3 Add Gale config to Spark profiler & Hide Sentry DSN key in Leaf config 2024-09-01 00:09:27 -04:00
Dreeam
68b8661c06 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@e01ddf4 Fixup porting issue in vanillaBiomeProvider impl (#11185)
PaperMC/Paper@509ea2f Fix horse armor desync (#11341)
PaperMC/Paper@2f0891e Fix InventoryOpenEvent cancellation (#11304)
PaperMC/Paper@227c94a Fix inventory desync when placing blocks with spawn protection (#11090)

Gale Changes:
Dreeam-qwq/Gale@afab253 Updated Upstream (Paper)
2024-08-31 22:53:13 -04:00
Dreeam
910864f84a [ci skip] Format patch 2024-08-29 00:16:24 -04:00
Dreeam
cfdd5f1bea Revert toml version 2024-08-28 17:15:52 -04:00
Dreeam
5eec2e9f4b Don't spawn if lastSpawnState is null 2024-08-27 22:53:43 -04:00
Dreeam
351bb339e8 Bump dependencies 2024-08-27 22:37:46 -04:00
Dreeam
03a888a390 Updated Upstream (Paper/Gale)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2fdb2e9 Fix structure check API (#11307)
PaperMC/Paper@fcedb49 Update spark-paper
PaperMC/Paper@956b3d1 Ensure MaterialChoice materials are items (#11325)
PaperMC/Paper@5625051 Prevent duplicate pickup event for piglins (#11322)
PaperMC/Paper@94444ce Fix incorrect timestamp in region file header recalculation (#11318)
PaperMC/Paper@5b2c43e Remove set damage lootable item function from compasses (#11317)
PaperMC/Paper@5167856 Fix despawn ranges by defaulting to an ellipsoid shape (#11312)
PaperMC/Paper@e2da65c Deprecate API relating to menu title changes (#11309)
PaperMC/Paper@ad4c524 Properly destroy placed blocks on the end platform (#11292)
PaperMC/Paper@374d9c8 Add a method to reset Lodestone compasses back to normal ones (#11308)
PaperMC/Paper@dd8c70a Ensure TabCompleteEvent always has a mutable backing list. (#11302)
PaperMC/Paper@a7b8d95 Add enchantment seed update API (#11282)
PaperMC/Paper@789a267 Re-implement maxLeashDistance world conf and call missing event (#11301)
PaperMC/Paper@e08e667 Fix: synchronise sending chat to client with updating message signature cache (#11332)
PaperMC/Paper@2562124 [ci skip] Create SECURITY.md (#11331)

Gale Changes:
Dreeam-qwq/Gale@d8e8537 Updated Upstream (Paper)
Dreeam-qwq/Gale@492609e Updated Upstream (Paper)
Dreeam-qwq/Gale@d9a7cf0 Updated Upstream (Paper)
Dreeam-qwq/Gale@afbc1ea Updated Upstream (Paper)
2024-08-27 20:27:01 -04:00
Dreeam
19277eec8b Fix built-in spark doesn't load Leaf config 2024-08-25 18:22:10 -04:00
Dreeam
c83b4d4e1b Remove stream in RecipeManager getRecipeFor 2024-08-23 20:24:06 -04:00
Dreeam
25f56b2c5d Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@a994efd Updated Upstream (Paper)
2024-08-22 01:40:47 +00:00
Dreeam
539b8b3e8d Fix version fetcher 2024-08-20 13:12:18 -04:00
Dreeam
424c438a9f Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@8fd3a67 [ci skip] Clean up book limits patch (#11297)
PaperMC/Paper@dae906b Add getWorld method that uses adventure Key (#11199)
PaperMC/Paper@ba1b016 Allow server administrators to disable book size checks (#10457)
PaperMC/Paper@a8cb8e6 [ci skip] Fix JavaDocs for HeightMap#MOTION_BLOCKING_NO_LEAVES (#11291)
PaperMC/Paper@e4b38b4 Fixup config parsing
PaperMC/Paper@3271119 Fix SculkBloomEvent firing for block entity loading (#11306)

Gale Changes:
Dreeam-qwq/Gale@38ba923 Updated Upstream (Paper)
Dreeam-qwq/Gale@7ebf026 Fix code style & Adjust sequence of `organizationDisplayName` and `projectDisplayName` in version fetcher

Purpur Changes:
PurpurMC/Purpur@3510a9e Updated Upstream (Paper)
PurpurMC/Purpur@1d3cef7 Updated Upstream (Paper)
PurpurMC/Purpur@c4a6f63 Updated Upstream (Paper)
PurpurMC/Purpur@568a028 Updated Upstream (Paper)
2024-08-20 13:07:55 -04:00