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

780 Commits

Author SHA1 Message Date
Dreeam
e380e4b573 Paper: Validate use item before processing release ver-1.21.3 2025-02-18 19:20:01 -05:00
蛟龙
3bf7789def Reimplement Hide specified item components (#210)
* [Reimplement] Hide specified item components

* try to fix drag problem in creative mode

* correct my name

* cleanup

* Update 0103-Hide-specified-item-components.patch

* Move to gameplay
2025-02-08 09:56:30 -05:00
Dreeam
22bd0e7bcf Backport Linear fix 2025-01-22 14:03:51 -05:00
Dreeam
80691cb8a7 Drop correct item when stone cutter finished the cutting 2025-01-19 07:58:02 -05:00
Creeam
9b6d4c133d Add Leaf docs to readme (#201)
* [ci skip] Add doc badge

* [ci skip] Documentation section
2025-01-18 10:30:48 -05:00
Dreeam
688373114e Update misc 2025-01-08 04:21:21 -05:00
Dreeam
119beeff20 Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@2c30e11 Update Paper and use archive
LeavesMC/Leaves@e64ef21 [ci skip] issue template LeavesMC -> Leaves (#386)
LeavesMC/Leaves@bce1d6c Fix GlobalConfigCreator (#385), and not pre
LeavesMC/Leaves@abda1c7 Fix color in console (#383)
LeavesMC/Leaves@b723a7f Update Jade Protocol
LeavesMC/Leaves@41476d8 Fix EndPortal teleport entity's delta movement (#388)
2025-01-08 04:10:02 -05:00
Dreeam
822da78d0c Bump dependencies 2025-01-08 01:26:03 -05:00
Dreeam
3fd1e8841f Fix restock for lobotomized villagers 2025-01-07 21:27:39 -05:00
Dreeam
37f3d33d47 Move to 1.21.4 2025-01-07 21:07:30 -05:00
Dreeam
c7601efd97 Update version fetcher 2025-01-03 15:49:11 -05:00
Kobe ⑧
6dcdba5d9c Virtual thread for User Authenticator (#191) 2024-12-31 21:51:59 -05:00
Kobe ⑧
9495a5b1ad Fix player profileresult cache (#190) 2024-12-31 10:57:32 -05:00
Dreeam
e907565e5a Configurable tripwire dupe 2024-12-25 07:11:45 -05:00
Dreeam
a1415c3f29 Updated Upstream (Gale)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@f2c8aaf Sync update from ver/1.21.1 branch
2024-12-24 11:49:20 -05:00
Dreeam
0bf20fe551 Lazy load cache result of canHoldAnyFluid 2024-12-14 08:36:15 -05:00
Dreeam
db66ebc076 Delete build-data/reobf-mappings-patch.tiny 2024-12-14 03:21:33 -05:00
Dreeam
0736390efe All patches done 2024-12-14 01:21:12 -05:00
Dreeam
ed40c14ed5 Step3, Where is my Doritos? 2024-12-13 21:19:57 -05:00
Dreeam
dcb406aae5 Some work
(⊙o⊙)哇
2024-12-13 08:18:34 -05:00
Dreeam
f6287a86c2 Step 2, put Dreeam into ice cream 2024-12-13 06:46:14 -05:00
Dreeam
b2300f0f44 88bo1 2024-12-13 06:07:24 -05:00
Dreeam
72bd6442ed API patches done 2024-12-13 01:54:34 -05:00
Dreeam
60d6531aa2 Bump dependencies 2024-12-12 23:04:20 -05:00
Dreeam
22dadaf62b [ci skip] Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@0fcb32c [ci skip] update contributing and readme (#381)
2024-12-11 10:59:46 -05:00
Dreeam
9375d53ce2 [ci skip] Remove some patches 2024-12-11 06:05:51 -05:00
Dreeam
17107ff967 Updated Upstream (Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Gale Changes:
Dreeam-qwq/Gale@2f4ceb5 Update & fix Halloween predict calculation

Purpur Changes:
PurpurMC/Purpur@803bf62
Final 1.21.1 Upstream (Paper)
2024-12-11 05:56:16 -05:00
Dreeam
25f595e9b7 Mark async playerdata saving as experimental 2024-12-10 17:13:38 -05:00
Dreeam
7a036bbf66 Filter some entity types in Entity TTL 2024-12-10 17:12:57 -05:00
Kobe ⑧
6baa11014c Move config annotations (#178)
* Move config annotations & Add @Experimental

* Requested changes
2024-12-02 15:02:15 -05:00
Dreeam
9e2e128eea Fix crash using non-valid name as skull name 2024-12-02 01:49:29 -05:00
Dreeam
8a96160f5f Updated Upstream (Pufferfish)
Upstream has released updates that appear to apply and compile correctly

Pufferfish Changes:
pufferfish-gg/Pufferfish@95ef348
Make iterator counting in IteratorSafeOrderedReferenceSet thread-safe for async mob spawning (#109)
2024-11-30 21:09:09 -05:00
Dreeam
0510b51ed3 Fix terminal color on Windows (#176)
* Fix terminal color on Windows

Windows doesn't have environment variables TERM and COLORTERM by default, but we assuming that it supports the `truecolor` for terminal.

* Add back revert to original java console on Java 22
2024-11-30 20:01:54 -05:00
Kaan D.
714cb8a9cf [ci skip] Update README.md (#177) 2024-11-30 16:54:13 -05:00
Kobe ⑧
7db5bae367 Add config for Smooth teleport (#174)
* Smooth teleport config

* Fix respawn & Update dependency

* Move condition for readability
2024-11-29 18:03:39 -05:00
Dreeam
4dc313c4e4 Simplify canHoldFluid condition logic
Cache the result of half of canHoldFluid logic, since there is a state#is in this method,
it uses map contains to do iteration to check whether a block has a specific block tag key,
which the contains iteration call is very expensive if called everytime
Also, I simplified the condition logic in the original method to be more readable.
It is actually useless since the result is cached, just makes it look better.

In the test, it can improve ~30% performance in ~1577000 times of canHoldFluid calls (~159ms -> ~111ms)
2024-11-29 17:59:02 -05:00
Dreeam
ec419e7923 Cache random tick block status 2024-11-29 17:58:49 -05:00
Dreeam
1d2cbe81fb Cache chunk key
Cache convert process between ChunkPos < - > chunkKey
2024-11-29 17:58:21 -05:00
Dreeam
8287c1769f Paper: Improve performance of RecipeManager#removeRecipe 2024-11-29 17:58:01 -05:00
Dreeam
f6ae4572c6 PaperPR: Fix some beacon event issues 2024-11-29 17:57:50 -05:00
Dreeam
101ab7a424 Fix MC-150224
Related MC issue: https://bugs.mojang.com/browse/MC-150224

This patch was backported from Minecraft snapshot 24w46a.
2024-11-29 17:57:38 -05:00
Dreeam
0cf7aa045c Remove stream in matchingSlot 2024-11-29 17:57:26 -05:00
Dreeam
11cb8d32ba Remove stream in updateFluidOnEyes 2024-11-29 17:57:16 -05:00
Dreeam
003ee6f427 Even better inline world height 2024-11-29 17:55:29 -05:00
Kobe ⑧
2c4d9d40d1 Some changes to optimizations and api (#172)
* Add faster random generator for Entity random

* Option for replace worldgen random with L64X128MixRandomSource & Cleanup

* Allocate 1 thread for AsyncLocator by default

* Rename to worldgen

* Add config option for backed random generator

* Add SplittableGenerator check

* Cache random generator

* Revert cache
Caching RNGs will cause some issues during worldgen

* Set to final & cleanup

* LevelChunkMixin

* Filter null values

* Use Xoroshiro128PlusPlus by default

* Benchmark results

* Revert changes

* Better smooth teleport api

* Set seed to 0
2024-11-28 18:26:03 -05:00
Dreeam
a3f3dbab2f Paper: Fix: move to jline-terminal-ffm on java 22+ and fall back to jni on 21 2024-11-28 16:34:29 -05:00
Dreeam
b361294778 Updated Upstream (Leaves)
Upstream has released updates that appear to apply and compile correctly

Leaves Changes:
LeavesMC/Leaves@a8a9d1b Remove useVanillaWorldScoreboardNameColoring to fix #367
LeavesMC/Leaves@257dd23 Update Jade Protocol, Fix #368 (#370)
LeavesMC/Leaves@fd9bd9b Update Paper
LeavesMC/Leaves@21c276f Fix jade protocol inv
LeavesMC/Leaves@93c5b78 [ci skip] Update issue template
LeavesMC/Leaves@6856a2b fix Stackable ShulkerBoxes (#356)
LeavesMC/Leaves@ec5a806 Fix fakeplayer resident (#375)
2024-11-28 16:16:54 -05:00
Dreeam
b158b02e63 [ci skip] Remove PandaSpigot from credits
Since the configurable knockback is WIP, or maybe directly removed in the future
2024-11-28 15:52:52 -05:00
Dreeam
13d9fd30a1 Bump dependencies 2024-11-28 15:51:53 -05:00
Dreeam
4e9546a971 Updated Upstream (Paper/Gale) 2024-11-28 03:56:25 -05:00