9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-29 03:39:07 +00:00
Commit Graph

217 Commits

Author SHA1 Message Date
Samsuik
aa0c30f3ae Fix durable blocks being destructable at the bottom of the world
This would causes issues if bedrock is configured to be a durable block.
2024-12-22 15:37:32 +00:00
Samsuik
350e44ea35 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@b48403b Update spark
2024-12-13 22:04:27 +00:00
Samsuik
3216c35092 Update README.md 2024-12-13 21:46:28 +00:00
Samsuik
c3458cd5ff Change upstream repository to Paper-archive 2024-12-13 12:35:40 +00:00
Samsuik
fcf7a9df86 Revert "Add lava flow speed api"
This reverts commit 6e0143f686.
2024-12-13 12:35:35 +00:00
Samsuik
6e0143f686 Add lava flow speed api 2024-12-05 22:43:58 +00:00
Samsuik
66db6e6aee Fix explosion player velocity
The player velocity was not being talied correctly, and velocity was not
sent when explosion effects were disabled in fps settings.
2024-11-14 20:52:38 +00:00
Samsuik
73271f5933 Add config option to enable TNT duplication 2024-11-14 20:03:00 +00:00
Samsuik
464006101d Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@7f7bc17 Fix inactive item ticking and remove active tick skipping; fix quit event leave message
PaperMC/Paper@4d2672e Fix the fix
PaperMC/Paper@84281ce Don't count mobs twice in per-player-mob-spawns
v0.20.0-beta-1.21.1
2024-10-31 23:05:34 +00:00
Samsuik
7bc3cbadb7 Fix visibility settings and minimal tnt/sand 2024-10-31 23:00:31 +00:00
Samsuik
f5b82c481a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@7cd4f2c Check if leash tag has a uuid
PaperMC/Paper@57c75a4 Fix CraftMagicNumbers#getTag (#11484)
PaperMC/Paper@b16c0ae Add offline PDC API (#8117)
PaperMC/Paper@4430e96 Add AnvilView#bypassEnchantmentLevelRestriction (#11475)
PaperMC/Paper@aebbdc9 Add proper async player disconnections
PaperMC/Paper@755a775 [ci skip] rebuild patches
PaperMC/Paper@3b9db2b Updated Upstream (Bukkit/CraftBukkit) (#11501)
PaperMC/Paper@c13f9fd Fix potential annotation testing interruption (#11460)
PaperMC/Paper@260c3bb Always send Banner patterns to the client (#11506)
PaperMC/Paper@14a48cd Some small touchups to the GUI (#11505)
PaperMC/Paper@d348cb8 Restrict BlockProjectileSource#launchProjectile
2024-10-31 12:37:44 +00:00
Samsuik
dbe198bb6d Clean up movement related patches 2024-10-31 12:37:40 +00:00
Samsuik
f156073704 Move messages into their own configuration part 2024-10-02 22:57:48 +01:00
Samsuik
98dbaa65ca Allow modifying bucket stack size 2024-10-02 19:59:05 +01:00
Samsuik
cd2de1f2ce Fix lava flowing after being destroyed 2024-10-02 19:47:26 +01:00
Samsuik
021078518d Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@20ec622 use correct types for preloading CraftRegistry
PaperMC/Paper@627cc64 Adjust HAProxy's existance to log for console masters (#11433)
PaperMC/Paper@01c4820 Call EntityDropItemEvent when a container item drops its contents (#11441)
PaperMC/Paper@9c76642 Deprecate for removal Block#isValidTool (#11439)
PaperMC/Paper@dd6d184 Remove redundant fillUsableCommands call (#11425)
PaperMC/Paper@f33611c fix ItemStack#removeEnchantments creating non-stackable items (#11442)
PaperMC/Paper@8f56db8 Add enchantWithLevels with tag specification (#11438)
PaperMC/Paper@b7ab22d Fix console completions on invalid commands (#7603)
PaperMC/Paper@41bc31b Update paperweight to 1.7.3 (#11445)
PaperMC/Paper@e17eb6b Improve entity effect API (#11444)
PaperMC/Paper@7b03141 Add startingBrewTime (#11406)
PaperMC/Paper@355b1cb Add API for explosions to damage the explosion cause (#11180)
PaperMC/Paper@6d7a438 Call bucket events for cauldrons (#7486)
PaperMC/Paper@f9c7f2a Begin switching to JSpecify annotations (#11448)
PaperMC/Paper@e3c8a8e Add PlayerInsertLecternBookEvent [1.20 port] (#7305)
PaperMC/Paper@b410fe8 Configurable per-world void damage offset/damage(#11436)
PaperMC/Paper@ea00be3 Do not NPE on uuid resolution in player profile (#11449)
PaperMC/Paper@ba3c29b Finish converting all events to jspecify annotations
PaperMC/Paper@e7e1ab5 Finish converting most of the undeprecated api to jspecify
PaperMC/Paper@69ffbec Fix hex color check
PaperMC/Paper@709f0f2 Use components properly in ProfileWhitelistVerifyEvent (#11456)
PaperMC/Paper@fb76840 [ci skip] Add section on nullability annotations (#11461)
2024-10-02 19:14:24 +01:00
Samsuik
f5b03e1787 Add max armour durability damage 2024-10-02 18:46:41 +01:00
Samsuik
90074d502f Move some legacy combat logic into CombatUtil 2024-10-02 18:39:15 +01:00
Samsuik
905ebcf956 Fix entity schedulers not working 2024-09-25 20:08:12 +01:00
Samsuik
b01d17c947 change paperRef
Pushed too early, was supposed to be in the upstream commit
2024-09-25 20:06:02 +01:00
Samsuik
99f34d259e Updated Upstream (Paper)
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)
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
2024-09-25 18:17:45 +01:00
Samsuik
b087cf4816 Remove unused configuration option 2024-09-24 20:11:45 +01:00
Samsuik
ca5ff29a0d Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
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)
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)
PaperMC/Paper@4ff58c4 Update spark
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)
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)
2024-09-22 20:38:14 +01:00
Samsuik
b6600a191d Tick entity schedulers only when necessary 2024-09-21 00:27:02 +01:00
Samsuik
434e6e63d4 Reduce ticking overhead of inactive hoppers 2024-09-21 00:26:52 +01:00
Samsuik
190206c4e5 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@ff251e4 Use reference hash set in reference Holder (#11363)
2024-09-06 20:24:25 +01:00
Samsuik
54d640ed23 More clean up 2024-09-06 20:16:57 +01:00
Samsuik
47b54e696f Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2562124 [ci skip] Create SECURITY.md (#11331)
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)
PaperMC/Paper@b483da4 Update Alternate Current to v1.9 (#11333)
v0.19.1-beta-1.21.1
2024-09-02 20:15:32 +01:00
Samsuik
b7e6fbe70e Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
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)
2024-08-27 09:18:54 +01:00
Samsuik
e80feea3e7 More cleaning up 2024-08-25 14:20:38 +01:00
Samsuik
1aef5e18a4 Clean up patches 2024-08-25 13:50:14 +01:00
Samsuik
41f7e740f3 Use vanilla methods for retrieving containers 2024-08-25 13:43:48 +01:00
Samsuik
a547d31ee7 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@fcedb49 Update spark-paper
v0.19.0-beta-1.21.1
2024-08-25 00:48:03 +01:00
Samsuik
4de4ceeff9 Optimise idle hopper ticking 2024-08-25 00:40:36 +01:00
Samsuik
e8a6da18e2 Fix pressure plates using entity count when powering
The entity count should only be used when recalculating the power.
2024-08-22 20:35:38 +01:00
Samsuik
64bf46cba3 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@1cecc24 Fix tag key generator output inconsistencies (#11218)
PaperMC/Paper@7d7f123 Fix wrong spawn reason for trial spawners (#11229)
PaperMC/Paper@1c3c47a Correctly check enchants for ItemStack#damage (#11240)
PaperMC/Paper@1187544 Fix teleport event getTo returning null (#11239)
PaperMC/Paper@dd941cc Re-add patches for can-place/can-destroy API (#11238)
PaperMC/Paper@ab0d24a Configuration for horizontal-only item merging (#11219)
PaperMC/Paper@098bd39 Remove arbitrary book page limit (#11228)
PaperMC/Paper@f97aff7 [ci skip] Fix Effect javadocs (#11182)
PaperMC/Paper@4a97ba3 Fix `setSendViewDistance`'s return (#11247)
PaperMC/Paper@1798e94 Fix BasicCommand suggestion arg count (#11241)
PaperMC/Paper@7c9240f Improve standard messenger logging
PaperMC/Paper@9ab644e Fix `TooltipContext.create` being wrong(#11254)
PaperMC/Paper@11b4ac7 Fix disableEndCredits world config (#11261)
PaperMC/Paper@bf5852a Fix NPE for PlayerPostRespawnEvent#getRespawnedLocation (#11268)
PaperMC/Paper@fb53074 Apply optimise collision checking in move packet handling patch
PaperMC/Paper@81bfda8 [ci skip] Specify rebase location in CONTRIBUTING (#11255)
PaperMC/Paper@9571983 Fix scanForLegacyEnderDragon world config (#11262)
PaperMC/Paper@ec55c11 Fix indestructable light blocks (#11275)
PaperMC/Paper@1b8ab11 Add Configuration for vertical Despawn Ranges (#10440)
PaperMC/Paper@534ab86 [ci-skip] Revert "Add Configuration for vertical Despawn Ranges (#10440)" (#11278)
PaperMC/Paper@e619744 Allow skipping of world symlink validation (#11250)
PaperMC/Paper@78216fe Re-implement portalCreateRadius world config (#11267)
PaperMC/Paper@4829fbf Handle custom registry elements properly (#11230)
PaperMC/Paper@d5ffc57 Implement more methods for horse inventories (#11147)
PaperMC/Paper@52ae4ad Migrate ArmorStand meta to using entity tag (#11107)
PaperMC/Paper@75655ec Add Configuration for vertical Despawn Ranges (#11279)
PaperMC/Paper@0e73617 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11284)
PaperMC/Paper@66a97cc Update item data sanitization (#11227)
PaperMC/Paper@2e82fd2 Add even more Enchantment API (#11115)
PaperMC/Paper@57dd822 Leashable API (#10961)
PaperMC/Paper@8c3018a Fix Selector Arguments not working with permission (#11286)
PaperMC/Paper@4401748 Fix CraftBukkit drag system (#10703)
PaperMC/Paper@64c9ee6 Allow getting/setting the sign's editor uuid (#10637)
PaperMC/Paper@b4bc512 Fix entity limit patch deleting unnecessary entities
PaperMC/Paper@be1078f Use player file, not directory, when checking for offline player data
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)
PaperMC/Paper@2fdb2e9 Fix structure check API (#11307)
2024-08-22 20:17:51 +01:00
Samsuik
31a3ebc7f4 Cache hopper source container 2024-08-22 19:52:56 +01:00
Samsuik
8179a24ca4 Updated Upstream (Paper 1.21.1)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@77a5779 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11197)
PaperMC/Paper@4d7cef3 Fix source of knockback for spigot events (#11176)
PaperMC/Paper@b1b5d4c Check shooter in configurable projectile relative velocity patch
PaperMC/Paper@83b6b26 Update to 1.21.1
PaperMC/Paper@306d0df Update generated code
PaperMC/Paper@70dfa46 Fix CraftMetaShield equality (#11232)
v0.18.0-beta-1.21.1
2024-08-10 16:31:10 +01:00
Max Renner
b4d782565b Add carpet to fluids-break-redstone (#20)
* Create 0075-Configure-fluids-breaking-wool-carpet.patch

* rebase

* use instanceof instead of blocktags

---------

Co-authored-by: Samsuik <kfian294ma4@gmail.com>
2024-08-10 14:27:30 +00:00
Samsuik
2fb979a69e Configurable left shooting and adjusting limits 2024-08-09 21:52:32 +01:00
Samsuik
8491db8c0a Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@9aea240 Properly lookup plugin classes when looked up by spark
PaperMC/Paper@7e91a2c Update the bundled spark version
PaperMC/Paper@3a47518 Deprecate more Timings things for removal (#11126)
PaperMC/Paper@aa36ae6 Fix EntityUnleashEvent cancellation on distance cause (#11131)
PaperMC/Paper@73a863b Fix horse inventories indices (#11139)
PaperMC/Paper@5512af7 [ci skip] remove timings from issue templates (#11127)
PaperMC/Paper@5a5035b Fix a couple of ItemMeta related NPEs (#11149)
PaperMC/Paper@e1462a9 Bump MCUtils#asyncExecutor core size
PaperMC/Paper@645a677 Make max interaction range configurable (#11164)
PaperMC/Paper@66165f7 Fix PickupStatus getting reset (#11154)
PaperMC/Paper@dcbd99d Fix Owen's typos (#11179)
PaperMC/Paper@f82bea6 Add argument for FinePosition to brig API (#11094)
PaperMC/Paper@694b120 Remove Entity tracker field
PaperMC/Paper@f774787 Copy missed changes to chunk system from Folia
PaperMC/Paper@50bdfc3 Null check tracker in Entity#resendPossiblyDesyncedEntityData
PaperMC/Paper@3234b20 Do not allow chunk unloading outside of the regular tick loop
PaperMC/Paper@0246a9d Add mob bucket items to item id to entity map in DataConverter
PaperMC/Paper@438863c Shutdown L4J cordially if the server stops before it's even started (#11172)
PaperMC/Paper@100d75a Don't entirely die just because a plugin jar was bad
PaperMC/Paper@227544c Move TickThread changes from Moonrise patch to MCUtils
PaperMC/Paper@67d414a Allow plugin aliases to override vanilla commands (#11186)
PaperMC/Paper@58c7ea3 Preserve command node when re-registering modern commands through old API (#11184)
PaperMC/Paper@0a1be9a Make loadChunksForMoveAsync use new chunk system load calls
PaperMC/Paper@df3b654 ConcurrentUtil: Fix concurrent long map resize chain pull function
PaperMC/Paper@5a5c3a4 Remove chunk unload trace debug
PaperMC/Paper@7e44684 Fix wrong assumption about locale being null in the login phase (#11204)
PaperMC/Paper@042f15f [ci skip] chore: fix incorrect commit hash in PR builds (#11198)
PaperMC/Paper@4e6a2a1 Check for block type in SculkSensorBlock#canActivate
2024-08-09 20:10:59 +01:00
Samsuik
470e067d8e Fix blocks not ticking in chunks loaded by entities 2024-08-09 12:03:19 +01:00
Samsuik
577ce8d498 Fix scaffolding being treated as a solid block 2024-08-09 01:58:31 +01:00
Samsuik
4bf305ac49 Fix lenient and spawn merge level
They were broken after the merging rewrite (only affects 1.21)

This commit also contains a partial fix for last gametick not being visible to cd
2024-08-09 01:29:36 +01:00
Samsuik
3b49665187 Set entity impulse on explosion 2024-07-29 00:21:16 +01:00
Samsuik
b2777a7c19 clean up sakura commands 2024-07-27 01:17:46 +01:00
Samsuik
c2899aebaf Fix destroy waterlogged blocks v0.17.2-beta-1.21 2024-07-22 21:06:42 +01:00
Samsuik
a9007c78ed whoops v0.17.1-beta-1.21 2024-07-20 21:16:28 +01:00
Samsuik
3ede4b15c8 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@681c013 Bundle spark (#11093)
PaperMC/Paper@5fee9c6 Move configuration option to a system property
PaperMC/Paper@aa3b356 Improve server startup logging (#11110)
2024-07-20 21:03:56 +01:00
Samsuik
eb42605112 attempt at fixing random chance for crop growth 2024-07-20 20:22:06 +01:00