Commit Graph

3422 Commits

Author SHA1 Message Date
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
Bjarne Koll 40764534a2 Specify the class loader when loading services (#12829) 2025-07-11 18:05:07 -07: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
Nassim Jahnke 3fec37a9c1 Move the double call into the dispatch method
At some point later,
2025-07-01 21:44:24 +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 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
Nassim Jahnke 4045339e4c 1.21.7 2025-06-30 16:16:56 +02:00
Jake Potrebic 371a422567 Remove a bunch more experimental annotations (#12712) 2025-06-30 11:49:19 +02:00
Owen 7f60924390 Configuration API (#12301)
This implements a solution that preemptively exits the tick loop if we have already marked the connection as disconnecting. This avoids changing the result of Connection#isConnected in order to avoid other possibly unintentional changes. Fundamentally it should be investigated if closing the connection async is really still needed.

This also additionally removes the login disconnecting logic for server stopping, as this was also a possible issue in the config stage but also shouldn't be an issue as connections are closed on server stop very early.

Additionally, do not check for isConnecting() on VERIFYING, as that seemed to be an old diff originally trying to resolve this code, however isConnected is not updated at this point so it pretty much was useless.
2025-06-30 11:49:15 +02:00
Bjarne Koll dda39a0f05 1.21.7-rc2 2025-06-30 11:49:13 +02:00
FlorianMichael bd79e20c66 [ci skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723) 2025-06-26 21:17:20 +02:00
Kezz bee287927c Adventure 4.23.0 (#12690) 2025-06-25 21:16:18 +02:00
wiicart e454fef40e Add support for private constructors in plugin main classes (#12652) 2025-06-23 22:50:59 -04:00
Owen 5edcf6ddf6 Cleanup/command dispatching (#12713) 2025-06-21 21:44:07 -04:00
Jake Potrebic cceffe3d98 Release ItemType and BlockType (#12708) 2025-06-21 11:27:46 -07:00
Pedro 6d0821d2b5 [ci skip] Fix docs for Spawner class and cleanup (#12710) 2025-06-21 17:54:24 +02:00
David c0dda0ea14 Add isForceDefaultGameMode method (#12673) 2025-06-21 13:10:11 +02:00
David 5652882134 Add isProxyEnabled method to ServerConfiguration (#12664) 2025-06-21 13:09:44 +02:00
Lulu13022002 29fc853271 Allow empty paths in namespaced keys (#12687) 2025-06-21 01:56:45 -04:00
Strokkur24 d61a51e81e Add ItemType#getBurnDuration() (#12604) 2025-06-21 01:54:29 -04:00
Pedro 3750927a06 [ci skip] Fix PermissionManager#clearPermissions() docs bad wording (#12657) 2025-06-21 01:01:11 -04:00
Lulu13022002 f5534cb7c7 [ci skip] Run generators (#12691) 2025-06-18 20:05:50 +02:00
Jason Penilla 62b7f86dae Avoid and discourage use of Maven Central as a CDN (#12689)
* Default LibraryLoader to Google's Maven Central mirror, add MavenLibraryResolver.MAVEN_CENTRAL_DEFAULT_MIRROR, and warn on use of Maven Central with MavenLibraryResolver

* Account for both Maven Central URLs

* Update Javadoc
2025-06-18 10:47:21 -07:00
Shane Freeder 5613ed6dfb Provide env environment variable and copy spigots sys prop for overriding default repository 2025-06-18 11:04:48 +01:00
Nassim Jahnke 245b5473a0 Update base to 1.21.6 2025-06-17 17:17:44 +02:00
Bjarne Koll a24f9b204c 1.21.6 dev
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2025-06-17 15:45:25 +02:00
Mart 3527ccdf2e feat: expose updateDemand and restock on Villager (#12608) 2025-06-07 12:42:11 +02:00
Strokkur24 7ebc94c2a6 Add Registry#getTagValues (#12603) 2025-06-06 18:23:02 -07:00
Pedro b9d6ba243c Expose more data for MusicInstrument (#12415) 2025-05-24 17:16:54 -04:00
Newwind 84ee4249c9 Add Map filled event (#12574) 2025-05-24 22:45:32 +02:00
Pedro 220b57add4 Fixs and Improvements for EndermanEscapeEvent (#12570) 2025-05-24 21:53:02 +02:00
A248 🇵🇸🇪🇭 7774243d11 Add plugin details to zip file errors (#12580)
Helps debug classloading across plugin boundaries. Zip file errors
can be thrown for multiple reasons, and they are capable of
affecting other plugins' classloading.
2025-05-24 21:18:41 +02:00
Pedro a3909f5486 [ci skip] Fix bad format for jd @link (#12581) 2025-05-24 21:17:16 +02:00
Md5Lukas 3efaf477c4 Add API for client-side signs (#11903) 2025-05-24 21:16:23 +02:00
brickmonster fa360aa836 Add some missing annotations and an incorrect one (#12204) 2025-05-18 18:31:49 -04:00
David ce0fa4c438 Replace old version command with brigadier equivalent (#12502)
---------

Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2025-05-18 16:24:02 -04:00
Reason 6f73e62ecd Add getPickItemStack (#12552) 2025-05-18 20:42:14 +02:00
Pedro 7171d29985 [ci skip] Mention CAN_PLACE/CAN_BREAK component in ItemMeta (#12559) 2025-05-18 19:49:57 +02:00
Pedro 358786774c [ci skip] Fix format and mentions for ItemDamageFunction (#12560) 2025-05-18 13:23:52 -04:00
Pedro cc38032bee Deprecate TeleportCause CHORUS_FRUIT for CONSUMABLE_EFFECT (#12546) 2025-05-18 16:33:21 +02:00
Pedro f1dbed072c Implement BlocksAttack DamageReduction and ItemDamage (#12538) 2025-05-18 16:31:34 +02:00
Namiu/うにたろう d683970d40 Add FishHookStateChangeEvent (#12165) 2025-05-15 20:17:32 +02:00
David cbcf75a57c Update visual fire handling with TriState support (#12303)
Replaced the Boolean-based visual fire system with TriState for improved clarity and flexibility, enabling three distinct states: TRUE, FALSE, and NOT_SET. Deprecated older methods in favor of new ones and updated internal handling to reflect these changes. Adjusted serialization and deserialization logic to accommodate the new TriState implementation.
2025-05-07 23:33:41 +02:00
Jakub Zacek ab0253fecd Expand PlayerDeathEvent API (#12221) 2025-05-06 20:14:58 -04:00
Bert Towne e2da5d2f0a Registry API for supported Mob Variants (#12417)
---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2025-05-06 17:13:00 -04:00