9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-19 14:59:30 +00:00

339 Commits

Author SHA1 Message Date
Samsuik
f121186dcb Fix load chunks on movement 1.5.1+1.21.5 2025-08-01 11:43:36 +01:00
Samsuik
eb743bb2e3 Fix movement optimisations causing a crash 2025-08-01 11:20:50 +01:00
Samsuik
d6e9d03a3b Protect blocks above a configured Y-level from explosions 1.5.0+1.21.5 2025-06-25 17:59:34 +01:00
Samsuik
5103f1c769 Rename allow-non-tnt-breaking-durable-blocks 2025-06-25 17:43:14 +01:00
Samsuik
e867f752dc Remove unused config option 2025-06-24 18:55:09 +01:00
Samsuik
4d0266c33b Update gradle and paperweight 2025-06-24 16:27:49 +01:00
Samsuik
0604473aad more refractoring 2025-06-24 16:27:33 +01:00
Samsuik
f63aae3731 more branding changes 2025-06-24 10:54:06 +01:00
Samsuik
85159be01d Update sakura branding 1.4.2+1.21.5 2025-06-23 21:30:04 +01:00
Samsuik
f73970eabd Fix broken entity movement 2025-06-23 19:41:21 +01:00
Samsuik
f0fbe9120f Missed 1.21.5 physics changes 2025-06-23 18:04:33 +01:00
Samsuik
8ad4fe843a Fix sakura debug command tab completion 1.4.1+1.21.5 2025-06-23 11:52:22 +01:00
Samsuik
714e2ffefe a 2025-06-23 11:50:30 +01:00
Samsuik
dc3793b1c6 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@4eda045 Backport fix for MC-296337 (Fixes #12617) (#12619)
PaperMC/Paper@7ebc94c Add Registry#getTagValues (#12603)
PaperMC/Paper@e87320d Fix UOE when using generateTree with pale oak (#12616)
PaperMC/Paper@94f2903 Do not blow up accessing unregistered memories from API (Fixes #12618) (#12639)
PaperMC/Paper@03efecf Do not fire PlayerDropItemEvent for /give command
PaperMC/Paper@3527ccd feat: expose updateDemand and restock on Villager (#12608)
PaperMC/Paper@320f25c fix sponge-absorb deleting chest content (#12647)
PaperMC/Paper@95565e0 Add missing attribute serialization updater
PaperMC/Paper@519e422 Fix infinite loop in RegionFile IO
PaperMC/Paper@ba7fb23 Finish moving over to Holderable (#12646)
PaperMC/Paper@39203a6 [ci skip] Publish PR API and dev bundles (#12672)
PaperMC/Paper@a1b3058 Provide env environment variable and copy spigots sys prop for overriding default repository
2025-06-23 10:47:22 +01:00
Samsuik
4413574030 Fix integer overflow in regionChunks and some other changes 2025-06-23 10:36:40 +01:00
Samsuik
5b8cf57b90 some refractoring 2025-06-21 16:42:09 +01:00
Samsuik
4c9f00050e Bump world config version 2025-05-29 21:50:43 +01:00
Samsuik
83fcc2fce0 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@d683970 Add FishHookStateChangeEvent (#12165)
PaperMC/Paper@369ad17 Cached tag parser for itemstack reading (#12547)
PaperMC/Paper@841d634 Fix ItemStack#addUnsafeEnchantment ignored for missing enchantment component (#12549)
PaperMC/Paper@c000b35 fix(bukkit-brig-forwarding-map): Invert isEmpty method (#12555)
PaperMC/Paper@28d7df7 Backport HeroesOfTheVillage datafixer fix
PaperMC/Paper@f1dbed0 Implement BlocksAttack DamageReduction and ItemDamage (#12538)
PaperMC/Paper@cc38032 Deprecate TeleportCause CHORUS_FRUIT for CONSUMABLE_EFFECT (#12546)
PaperMC/Paper@3587867 [ci skip] Fix format and mentions for ItemDamageFunction (#12560)
PaperMC/Paper@7171d29 [ci skip] Mention CAN_PLACE/CAN_BREAK component in ItemMeta (#12559)
PaperMC/Paper@6f73e62 Add getPickItemStack (#12552)
PaperMC/Paper@ce0fa4c Replace old version command with brigadier equivalent (#12502)
PaperMC/Paper@fa360aa Add some missing annotations and an incorrect one (#12204)
PaperMC/Paper@113b18e Update paperweight and Gradle wrapper (#12573)
PaperMC/Paper@f303a07 fix: Don't hardcode checks for translation registries (#12571)
PaperMC/Paper@87349c3 Fix CombatTracker stale on death (#12562)
PaperMC/Paper@b70bca6 Revert "fix: Don't hardcode checks for translation registries (#12571)"
PaperMC/Paper@3efaf47 Add API for client-side signs (#11903)
PaperMC/Paper@a3909f5 [ci skip] Fix bad format for jd @link (#12581)
PaperMC/Paper@7774243 Add plugin details to zip file errors (#12580)
PaperMC/Paper@220b57a Fixs and Improvements for EndermanEscapeEvent (#12570)
PaperMC/Paper@b8fe22c Do not call EntityRemoveEvent during worldgen (#12588)
PaperMC/Paper@ee3b405 Replace spigot check with generation check
PaperMC/Paper@84ee424 Add Map filled event (#12574)
PaperMC/Paper@b9d6ba2 Expose more data for MusicInstrument (#12415)
PaperMC/Paper@a033e3b Fix ancient player custom name converter
PaperMC/Paper@4765010 Improve error messages when PluginRemapper fails to initialize (#12598)
PaperMC/Paper@6f31535 Add MCUtil#toLocation from Folia
PaperMC/Paper@2ba1675 Replace deprecated Thread#getId usage with Thread#threadId
2025-05-29 21:31:01 +01:00
Samsuik
2965eb547a Fix block change tracker causing a crash when chunks are reloaded 2025-05-29 21:00:59 +01:00
Samsuik
1d4877f84e Fix lenient merging sometimes merging entities out of order 2025-05-29 20:57:12 +01:00
Samsuik
476ea68d41 Optimise block counting for cannon entities 2025-05-18 20:43:00 +01:00
Samsuik
5055fe8bb8 Fix explosion resistant items config transformation 2025-05-15 00:18:16 +01:00
Samsuik
47ec0cbf05 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@88a3a87 Configurable xp orb merge group count (#12503)
PaperMC/Paper@53d1d04 Disable Item Obfuscation for entity related stacks (#12297)
PaperMC/Paper@c98cd65 Add configuration interface to expose certain config values (#12273)
PaperMC/Paper@42a2a6c Supports the ability for commands to be registered internally (#12520)
PaperMC/Paper@753cff7 Improvements for Dump paper commands (#12512)
PaperMC/Paper@e2da5d2 Registry API for supported Mob Variants (#12417)
PaperMC/Paper@ab0253f Expand PlayerDeathEvent API (#12221)
PaperMC/Paper@cbcf75a Update visual fire handling with TriState support (#12303)
PaperMC/Paper@6c3964d Properly save level data async (#12530)
PaperMC/Paper@d2ad2e6 Add missing EntityLookup#getAllMapped from Moonrise
PaperMC/Paper@358e72e Remove simplify remote item matching stuff for now
PaperMC/Paper@04ffca0 Also remove CraftPlayer methods
PaperMC/Paper@a252581 Update mache
2025-05-14 18:07:05 +01:00
Samsuik
c45d57f67e Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@deaccd2 [ci skip] Add file reference url to help.yml (#12481)
PaperMC/Paper@f86b435 Add vault change state event (#12069)
PaperMC/Paper@3e3b42c Update player chat session sync (#12382)
PaperMC/Paper@f8fa4f6 Add method to retrieve FishHook (#12310)
PaperMC/Paper@b9d3147 Use correct placed block position for sound (#12410)
PaperMC/Paper@952338b [ci skip] Add missing exception docs to Player#listPlayer (#12488)
PaperMC/Paper@1db3785 [ci skip] improve javadoc for off-hand swaps through getHotbarButton (#12489)
PaperMC/Paper@d1810f2 Allow Server#getDefaultGameMode before worlds are initialized (#12490)
PaperMC/Paper@02d20ff Fix NPE in Server#getMap before worlds are loaded (#12492)
PaperMC/Paper@9e873f5 Fix inconsistencies between offline/online spawn position getter (#11960)
PaperMC/Paper@fc0c371 Fix handling of resultant crafting container from craftItemResult (#12307)
PaperMC/Paper@a7a76c8 Add methods for Armadillo (#12031)
PaperMC/Paper@a74400d Update adventure to 4.21.0 (#12499)
PaperMC/Paper@1e93076 Fix ipv6 loopback addresses being able to get connection throttled (#12155)
PaperMC/Paper@646b80c Fix unnecessary map data saves (#12296)
PaperMC/Paper@e663f99 Add combat tracker API (#11853)
PaperMC/Paper@cd4fe5b [ci skip] Drop non-applicable ATs (#12498)
PaperMC/Paper@5acfdd6 Fix save/load NaN Entity Motion (#12269)
PaperMC/Paper@2754d7c Add Throw EntityChangeBlockEvent for BrushableBlockEntity#brush (#12133)
PaperMC/Paper@567f63a Parity for respawn events (#11792)
PaperMC/Paper@bc3d946 Normalizes CraftEntity#toString/getHandle (#12170)
PaperMC/Paper@0e9b94d Fix ItemStack amount issues with Chat Components (#12216)
PaperMC/Paper@835b955 Add a method on InventoryView to get the MenuType (#12193)
PaperMC/Paper@c9411bf Fix min ItemStack amount check for asHoverEvent (#12505)
PaperMC/Paper@1acf3b3 Infer block entity data in brigadier blockstate argument (#12197)
PaperMC/Paper@b9b3cd6 Use components instead of ChatColor in more places  (#12507)
PaperMC/Paper@ec42171 Add missing spaces back (#12508)
PaperMC/Paper@51345a1 Correct nullable fall location type
PaperMC/Paper@93246a0 Fix errors when loading raid files without a PDC
PaperMC/Paper@cb3ffd0 Don't store empty PDCs on raids
PaperMC/Paper@d637ae8 Fix NoSuchElementException in EntityTransformEvent for slimes (#12510)
PaperMC/Paper@1074237 Pass correct draw strength for EntityShootBowEvent (#12308)
PaperMC/Paper@825685f Add PlayerPickBlockEvent and PlayerPickEntityEvent (#12425)
PaperMC/Paper@2bd84f6 Expand PotionMeta Api to allow getting effective potion colour and effects (#12390)
PaperMC/Paper@6f1f5b6 Fix ArmorStand items for canceled EntityDeathEvent (#12288)
2025-05-03 19:22:28 +01:00
Samsuik
9bc7feb4c4 Configure falling blocks dropping items 2025-05-03 19:04:33 +01:00
Samsuik
a6e391d6a7 Configure items that can that drop from explosions 2025-05-03 18:59:02 +01:00
Samsuik
352dfb2881 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@6b4ad08 Add PlayerRespawnEvent#isMissingRespawnBlock (#12422)
PaperMC/Paper@c0bd568 Add logic for Human canUseEquipmentSlot (#12433)
PaperMC/Paper@a55345f Add support for deserializing manually deserialized items, also add caller note
PaperMC/Paper@2948eb2 Mitigate an issue when loading a spigot config with null spam exclusion entries
PaperMC/Paper@6c2b037 Use correct saved data key for maps
PaperMC/Paper@89cdcba [ci skip] Replace wiki mention for BlockType#isOccluding (#12446)
PaperMC/Paper@5f0b829 Re-add chunk position check to regionfile recalculation patch
PaperMC/Paper@04b9112 Update projects dependents GitHub Action (#12436)
PaperMC/Paper@def0532 Fix writing headers and update to be more papery (#12459)
PaperMC/Paper@d22644a Expand cooldown API (#12435)
PaperMC/Paper@df42993 Fix floating warning log when the kick event is canceled (#12374)
PaperMC/Paper@a820bda [ci skip] Some javadoc fixes
PaperMC/Paper@55f2020 Fix CCE in LingeringPotionSplashEvent (#12463)
PaperMC/Paper@1410a22 Fix passengers sending when riding players
PaperMC/Paper@767868d Fix some components (#12457)
PaperMC/Paper@9cddf13 Fix portal create event block list (#12373)
PaperMC/Paper@a112d37 Fix horse_variant and tropical_fish_pattern (#12472)
PaperMC/Paper@a211ac2 Remove unused warning (#12478)
PaperMC/Paper@ae51281 Add isSuffocating to Block and BlockState (#12445)
PaperMC/Paper@3409e2d Mace was not included in the ENCHANTABLE MaterialSetTag (#12476)
PaperMC/Paper@1cfc96b Add keyStream() API to registries (#12479)
PaperMC/Paper@3222985 [ci skip] Rebuild patches
1.4.0+1.21.5
2025-04-25 20:47:34 +01:00
Samsuik
d146c38219 Some changes to blockable swords 2025-04-14 23:15:03 +01:00
Samsuik
6144bc7fcc Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@0cf7315 Bump to adventure 4.20.0 (#12391)
PaperMC/Paper@0767902 CraftBlock - fix applyBoneMeal false result (#12407)
PaperMC/Paper@f00727c 1.21.5
PaperMC/Paper@8eede4b Fix AbstractHorse get/setSaddle
PaperMC/Paper@93b6829 Also fix AbstractHorse getSize and isEmpty
PaperMC/Paper@f517267 Add passthrough for air serialization
PaperMC/Paper@4511edb [ci skip] Don't promote checking enchantment by legacy lore (#12421)
PaperMC/Paper@8f62e0f Correctly order getArmorContents
PaperMC/Paper@652cea5 Allow `getAsString()`-ing non-persistent entities (#12424)
PaperMC/Paper@de64e70 Update spark
PaperMC/Paper@1b88968 Add Entity#isTrackedBy (#12332)
PaperMC/Paper@8ff94c6 Update a bunch of dependencies
PaperMC/Paper@7903621 Remove json-simple imports from API, keep it as implementation in server
PaperMC/Paper@dcb755a Update log4j jd link
PaperMC/Paper@91bfb6f Fix freeze locked (#12434)
PaperMC/Paper@121a7bf Make GameRule a FeatureDependant (#12429)
PaperMC/Paper@7d5695d Improve ItemMeta#hasCustomModelData compatibility (#12414)
PaperMC/Paper@de410d1 Fix reobf mappings regression in GameRules.Type (#12437)
PaperMC/Paper@33e8928 Add support for bonus chest configuration in WorldCreator (#12344)
PaperMC/Paper@723b511 Clone exit location passed to teleport event (#12354)
PaperMC/Paper@ed32204 Clone blockpos in InsideBlockEffectApplier record
2025-04-14 18:00:09 +01:00
Samsuik
98fe52e373 Clean up update remnants 2025-04-07 22:36:27 +01:00
Samsuik
bd607926a9 Fix iron golem take fall damage causing a crash 2025-04-07 15:49:32 +01:00
Samsuik
9b5339f0bf add regions to debug command and fix large overlapping regions 2025-04-07 15:46:15 +01:00
Samsuik
4652ed3898 Update feaure patches 2025-04-07 01:37:23 +01:00
Samsuik
0ecadc00f6 Start updating to 1.21.5 2025-03-30 13:40:09 +01:00
Samsuik
1316e8819b Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@2d3a138 [ci skip] Refine recipe management API documentation. (#12287)
PaperMC/Paper@aaaeb4e [ci skip] Make compilation logs actually readable (#12276)
PaperMC/Paper@bb1beda feat: add event to wind charge explode (#12248)
PaperMC/Paper@9f00461 Update a whole lot of deprecated annotations
PaperMC/Paper@72f13f8 [ci skip] Mention API Checks for CONTRIBUTING.md (#12315)
PaperMC/Paper@7cc6cb5 Check for trailing input in ItemFactory#createItemStack (#12312)
PaperMC/Paper@f49d18d Add get/set customName to Skull block (#12302)
PaperMC/Paper@894631f Make advancement ordering predictable (#12292)
PaperMC/Paper@2aad131 Add config option for command spam whitelist
PaperMC/Paper@bb3b7e6 Fix annotation mistakes
PaperMC/Paper@058455e InventoryView QOL open method (#12282)
PaperMC/Paper@f225858 Fix firework entity not being removed when FireworkExplodeEvent is cancelled (#12268)
PaperMC/Paper@7819df1 Add getHeight method to ChunkData (#12311)
PaperMC/Paper@37b9ca1 Add flush parameter to World#save (#12330)
PaperMC/Paper@515e12c Check if BUNDLE_CONTENTS is present in InventoryClickEvent (#12321)
PaperMC/Paper@5a6ab97 Add config to remove player as vehicle restriction in /ride (#12327)
PaperMC/Paper@c467df9 Add ItemStack#copyDataFrom (#12224)
PaperMC/Paper@9b1798d Simplify custom payload handling (#12347)
1.3.0+1.21.4
2025-03-28 21:16:05 +00:00
Samsuik
96879fa887 Change the default of optimise-protected-regions
Fixes #28
2025-03-15 20:25:26 +00:00
Samsuik
05b7b9c609 Fix sakura command tab completion 2025-03-15 19:48:25 +00:00
Samsuik
9844a7a51f Only listen for changes when blocks actually change 2025-03-15 16:12:10 +00:00
Samsuik
5e7c365ce6 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@0a4eb8f Send the pong response packet immediately. This packet is similar to the keep alive packet and is processed async. (#12242)
PaperMC/Paper@7a3d0c4 Fix recipe being always null in PrepareItemCraftEvent from the api (#12237)
PaperMC/Paper@a6ce734 Fix zombie villager not dropping item once cured (#12230)
PaperMC/Paper@ce30016 Skip alpha channel for custom model data component (#12205)
PaperMC/Paper@4519857 Set old position / rotation for newly created entities
PaperMC/Paper@8e69d98 Player - Expose player score (#12243)
PaperMC/Paper@2526fe0 Add type to represent unimplemented data component types (#12222)
PaperMC/Paper@20df25d Don't resync all attributes when updating scaled health (#12232)
PaperMC/Paper@43f37b1 Remove ItemFactory#enchantWithLevels range check for vanilla parity (#12209)
PaperMC/Paper@a2b0ff0 Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)
PaperMC/Paper@df96f8a Correctly handle events for end portal (#12246)
PaperMC/Paper@2565497 Cancel PlayerLaunchProjectileEvent properly for enderpearls (#12223)
PaperMC/Paper@34c794d ServerTickManager#requestGameToSprint - Silence command like feedback (#12220)
PaperMC/Paper@3d13b11 fix: switch back to using a snapshot for velocity-natives
PaperMC/Paper@7afae7f Add client tick end event (#12199)
PaperMC/Paper@e5d988d Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)"
PaperMC/Paper@743346a Force update attributes
PaperMC/Paper@1a7288a Adjust unloaded chunk check for block digging
PaperMC/Paper@f4f2755 [ci skip] Clarify BlockFadeEvent#getNewState javadocs (#12250)
PaperMC/Paper@102c8bb Add config for updating equipment on player actions (#12275)
PaperMC/Paper@f0388e2 Call EntityPushedByEntityAttackEvent for Mace AoE (#12257)
PaperMC/Paper@c37b890 More deferred requireNonNull message creation
PaperMC/Paper@310f522 Add unsupported config option and internal API to simplify remote item matching
PaperMC/Paper@6ea4202 Send all attributes on respawn (#12274)
2025-03-15 15:48:33 +00:00
Samsuik
e85d4408d0 Fix cached wires applying updates to other wires 2025-03-15 13:45:00 +00:00
Samsuik
17faf0f0bd Fix an oversight with optimise new liquid level 2025-03-08 11:20:10 +00:00
Samsuik
b1703fbf85 Configure explosions breaking blocks when outside the world border 2025-03-07 17:19:17 +00:00
Samsuik
01115e23c1 Revert "Protect blocks outside the world border from explosions"
This reverts commit d6b47ce481.
2025-03-07 17:14:52 +00:00
Samsuik
dbd72dc699 Fix configure cannon physics comments 2025-03-07 14:28:42 +00:00
Samsuik
d6b47ce481 Protect blocks outside the world border from explosions 2025-03-07 14:24:09 +00:00
Samsuik
5f84665fd2 Rewrite new liquid level optimisation
This fixes water sources not forming when theres a liquid above.
2025-03-07 14:10:37 +00:00
Samsuik
62676bf61a Reactivate block entities every minute 2025-03-06 18:43:16 +00:00
Samsuik
072ee3b51f Move skipWireUpdate redstone implementation check 2025-03-06 18:20:25 +00:00
Samsuik
6c49e8527f Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@5e2a3bc Call EntityChangeBlockEvent with correct block when waxing (#12154)
PaperMC/Paper@ab984a0 Always pass event block to damage source (#12158)
PaperMC/Paper@7b4d44f Revert "Always pass event block to damage source (#12158)"
PaperMC/Paper@e5a8ee8 Hide soul speed particles for vanished players (#12152)
PaperMC/Paper@fcb2e81 Clear lastSection on game event listener removal
PaperMC/Paper@636ae0c Add missing Paper comments to player movement patch
PaperMC/Paper@9be4e07 Pin snapshot dependencies (#12185)
PaperMC/Paper@f12d33f Track codec writing
PaperMC/Paper@1d9b399 Add config option for failed beehive release cooldowns (#12186)
PaperMC/Paper@5f2ee83 Fix first execution of async delayed/repeating tasks being sync (#12166)
PaperMC/Paper@b00875f Add a method on Registry to get the size (#12182)
PaperMC/Paper@ca26109 Don't process empty rcon commands (#12188)
PaperMC/Paper@a501c45 Deprecate server config getters (#12189)
PaperMC/Paper@7f3d359 Use MiniMessage#deserialize(String, Pointered) in sendRichMessage for send messages (#12177)
PaperMC/Paper@9b9f046 Remove broken code (#12171)
PaperMC/Paper@fc56c72 Add methods for Creaking (#12094)
PaperMC/Paper@f63dbea Fix cancelled HangingPlaceEvent inventory desync (#12161)
PaperMC/Paper@9421f22 Make CustomArgumentType use parse(reader,source) (#12191)
PaperMC/Paper@0a6e743 Fix invulnerability damage and armour (#12190)
PaperMC/Paper@b506626 Remove unused light queue size option (#12201)
PaperMC/Paper@1d5e5a5 Document replacement for Skull owner profile methods (#12195)
PaperMC/Paper@8de7e35 Add null check to level ref in Entity constructor (#12218)
PaperMC/Paper@a866e36 Fix MenuType.SMITHING JavaDocs (#12226)
PaperMC/Paper@5538d24 Fix "DEFAULT" SpawnReason of fish spawned by bucket (#12227)
2025-03-06 17:47:12 +00:00
Samsuik
33898edb8a dont skip wire updates on vanilla redstone 2025-02-21 01:09:53 +00:00