Commit Graph

19516 Commits

Author SHA1 Message Date
Nassim Jahnke a5f2f6140d Fix offhand item desync on cancelling interact events (#12828) 2025-07-22 10:42:22 +02:00
Emil c8a8c0ef89 feat(plugin): make Plugin extend Namespaced (#12867)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2025-07-20 22:01:22 +00:00
ookiegajwa 602ea9f0e1 Restore previous PlayerToggleSneakEvent behaviour (#12815)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2025-07-20 23:54:27 +02:00
Jake Potrebic 617e5a46a1 Update to configurate 4.2.0 (#12869) 2025-07-20 23:05:42 +02:00
Jake Potrebic a2d37f12fb Remove invalid team colors nicely (#12874) 2025-07-20 22:42:24 +02:00
Fisher 782ce950b8 Allow forcing break effects when using breakNaturally (#12734) 2025-07-18 22:17:38 +02:00
Umbre11as 0dad7f150b Add Bee#set/getTimeSinceSting() methods (#12792) 2025-07-18 22:17:06 +02:00
metabrix f7c59f914c Fix broken resource pack API when configured in configuration stage (#12866)
Correctly return the resource pack status from Player#getResourcePackStatus()
when the resource pack was send and accepted during the configuration stage.
2025-07-18 20:22:28 +02:00
Spottedleaf aa4ef06748 Update DataConverter constants for 1.21.8 2025-07-17 16:23:33 -07:00
Junhyung Park 6fb36e34b6 Replace compileOnly with implementation for test visibility (#12841) 2025-07-17 18:01:04 +02:00
Tamion 1f93f56670 [ci-skip] Improve getPotentialBedLocation deprecation (#12857) 2025-07-17 17:59:36 +02:00
Spottedleaf d8cb3f5852 Update DataConverter to 1.21.8-RC1
Add a non-Vanilla converter which removes ENTITY fall_distance
entries if they are equal to 0.0. This fixes incorrectly
converted data before https://github.com/PaperMC/DataConverter/commit/b6675e47ca068f152c3b648b3869fe63ca12b720
2025-07-17 07:03:10 -07:00
Bjarne Koll 6db4bc01a6 1.21.8 generators 2025-07-17 15:48:06 +02:00
Bjarne Koll a4feb28898 Update to 1.21.8 2025-07-17 15:47:55 +02:00
David e792779dd8 Allow AreaEffectCloud#setColor to reset color for null (#12760) 2025-07-16 22:00:54 +02:00
David a6e0c08fdf Add getRotation to Location (#12799) 2025-07-16 21:52:05 +02:00
Jason Penilla 22d80a3b3b [ci skip] Update Gradle wrapper and Fill plugin (#12846) 2025-07-16 11:00:29 -07:00
Spottedleaf 04f95191f1 Fix spawners converted from 1.21.4 not running finalisation logic
DataConverter incorrectly placed a fall_distance value with 0.0
if the entity did not have a FallDistance entry. This results in the
entity spawn data having 2 entries, which prevents finalisation
logic from running.

We can fix this by removing the fall_distance entry if it is 0.0.

In 1.21.8 there will be a proper fix for this and the patch can be
dropped.
2025-07-16 10:33:06 -07:00
Spottedleaf 21fb54246e Do not write fall_distance tag unless it already existed before
It looks like BaseSpawner will not run natural spawn finalization
unless the entire data tag only contains the ID.

This only fixes converting old data, we need a fix for already
converted data.
2025-07-15 17:09:06 -07:00
Shane Freeder 94d60e15b3 Copy thrown pearls list for removal (#12840) 2025-07-14 23:04:02 +02:00
Clexus bda84069b4 [ci skip] fix typo in AttributeInstance (#12843) 2025-07-14 17:57:12 +02:00
Brokkonaut d9b5003fa1 Dried Ghast events and Happy Ghast spawn reason (#12788) 2025-07-14 17:56:44 +02:00
Jake Potrebic 533d93c758 Don't consume anchor charge if loc changes (#12835) 2025-07-12 19:03:48 +00:00
Jake Potrebic ba7c982605 Add missing Range annotations to dialog types
Closes #12825
2025-07-12 09:01:14 -07:00
Lach 25d358cf01 [ci skip] javadoc: Fix grammatical error for getState (#12817) 2025-07-12 17:44:23 +02:00
David 4000fcc3d7 Fix typo in PluginBootstrap javadocs (#12821) 2025-07-12 17:43:49 +02:00
caramel fcfc6c3fe8 Expose HexColor argument type (#12833) 2025-07-12 17:41:21 +02:00
partydev 76fb5060c1 Add vanilla error message to precondition for DialogBaseImpl (#12831) 2025-07-12 11:15:48 +02:00
Jason Penilla 1bf6364b97 Update Mache for horse decompile fix 2025-07-11 18:07:23 -07:00
Bjarne Koll 40764534a2 Specify the class loader when loading services (#12829) 2025-07-11 18:05:07 -07:00
Nassim Jahnke cb47e01823 Remove more dead code, fix pre-existing desync when cancelling and closing container 2025-07-11 22:24:20 +02:00
Nassim Jahnke a939945148 Fixup sendAllDataToRemote calls
Reduces unnecessary item copies by a lot
2025-07-11 17:43:05 +02:00
Jake Potrebic b4466ec981 Dialog API (#12671) 2025-07-06 20:49:43 +02:00
Jason Penilla f7d5a0a017 [ci skip] Add remote build cache configuration through Gradle properties (#12797) 2025-07-04 13:12:45 -07:00
Jason Penilla 6e598f8527 Fix incorrect createPath overload arguments, fixes #12043 (#12794)
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
2025-07-03 12:40:19 -07:00
Owen 0cadaefc09 Fix quitmessage nullability issues (#12783) 2025-07-01 18:44:17 -04:00
David 2141ca5273 Port plugins command to brigadier (#12632) 2025-07-01 16:24:38 -04:00
Shane Freeder 108255cbbb Reduce PlayerLoginEvent alt behavior nag for now (#12782) 2025-07-01 21:47:37 +02:00
Nassim Jahnke 3fec37a9c1 Move the double call into the dispatch method
At some point later,
2025-07-01 21:44:24 +02:00
Nassim Jahnke c3be00f0ec Always call plugin message dispatch on PlayerConnection 2025-07-01 21:09:44 +02:00
Owen 6ea679eb07 Allow listening to plugin messages during configuration phase (#12775) 2025-07-01 15:40:50 +02:00
Newwind 51d28af8fa [ci skip] Typo in CartographyInventory (#12777) 2025-06-30 19:17:27 -07:00
Pedro 5661fbbab9 Add registry builder for Instrument (#12682)
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
2025-06-30 21:33:02 +02:00
masmc05 6e021c8272 Fix CraftContainer#getNotchInventoryType detection of player inventory (#12751) 2025-06-30 19:33:40 +02:00
masmc05 00e79dfb22 Fix wrong size in InventoryType#PLAYER (#12758) 2025-06-30 19:32:05 +02:00
Jake Potrebic 4cdcf00dca Only namespaced reload (#12773) 2025-06-30 10:27:30 -07:00
Pedro 723510f9aa Make warning of PlayerLoginEvent use unique plugin names (#12772) 2025-06-30 19:27:20 +02:00
Noah van der Aa 9686f8b34d Enable obfuscation mappings for 1.21.7 (#12770) 2025-06-30 17:31:40 +02:00
Spottedleaf 4c47c76ecf Update DataConverter constants for 1.21.7
https://github.com/PaperMC/DataConverter/commit/04b08a102a3d2473420edceed05420b5ccb3b771
2025-06-30 08:28:39 -07:00
Nassim Jahnke 4045339e4c 1.21.7 2025-06-30 16:16:56 +02:00