Commit Graph

3955 Commits

Author SHA1 Message Date
Lulu13022002 1922be9074 Update custom tags (#12183) 2025-08-23 16:53:07 +01:00
Moulberry f866a5fd54 Use LinkedHashMap in ChannelInitializeListenerHolder (#13000) 2025-08-19 17:53:03 +02:00
Esophose 616a8795ea Add LootTable to BlockDispenseLootEvent (#12917) 2025-08-17 15:53:00 +01:00
Strokkur24 47f983f430 Add allow-remote-ender-dragon-respawning setting (#12602) 2025-08-17 13:49:30 +02:00
David a22447a555 Added getWorldPath to World API (#12952) 2025-08-15 21:39:09 +01:00
Pedro abf6b6c228 Allow replace effects in Consumable Component Builder (#12938) 2025-08-08 18:17:34 +02:00
Žiga Slatnar Štagar a664311f0f Fix AbstractArrow not setting noPhysics flag (#12935) 2025-08-07 12:55:48 -04:00
Emily 846c64f4d1 Allow for sending plugin messages during configuration stage (#12915) 2025-08-04 15:06:52 +02:00
Red ed31825a8d HIDE_ADDITIONAL_TOOLTIP backwards compat. not hiding disc names (#12900) 2025-07-30 22:26:35 -04:00
Kezz ec9c83fa2b Adventure 4.24.0 (#12908) 2025-07-30 10:43:51 -07:00
David a57636189a Add WorldDifficultyChangeEvent (#12471) 2025-07-26 23:38:16 +02:00
David Mayr 57c13137e4 Allow to change despawnInPeaceful (#12880) 2025-07-26 14:13:42 -07:00
Lulu13022002 840dd9e1f8 Fix dialog preconditions (#12895) 2025-07-26 21:35:19 +02:00
David 6bb9dc6b73 Normalize and trim spaces in Player#performCommand (#12892) 2025-07-26 21:29:47 +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
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
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
Jake Potrebic ba7c982605 Add missing Range annotations to dialog types
Closes #12825
2025-07-12 09:01:14 -07: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
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
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
Owen 6ea679eb07 Allow listening to plugin messages during configuration phase (#12775) 2025-07-01 15:40:50 +02: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
Pedro 723510f9aa Make warning of PlayerLoginEvent use unique plugin names (#12772) 2025-06-30 19:27:20 +02:00
Nassim Jahnke 4045339e4c 1.21.7 2025-06-30 16:16:56 +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
Nassim Jahnke 4d854e66b8 Disable MC-163962 fix by default
It changes restocking behavior pretty drastically compared to Vanilla, keep it as a config option for those that want it

Fixes #12761
2025-06-30 11:39:07 +02:00
Jake Potrebic 57c202e015 Allow adventure nbt codec to parse all tags 2025-06-28 13:05:31 -07:00
Owen ea10fa4a79 Don't mutate the position of Items for MC-4 Fix (#12702) 2025-06-25 21:51:26 +02:00
Kezz bee287927c Adventure 4.23.0 (#12690) 2025-06-25 21:16:18 +02:00
Owen d7510efc16 Fix #12722 (#12726)
Use our getRegistryAccess to null check against world
2025-06-24 15:26:37 -04:00
Spottedleaf 7c90c7c497 Optimise EntityScheduler ticking
The vast majority of the time, there are no tasks scheduled to
the EntityScheduler. We can avoid iterating the entire entity list
by tracking which schedulers have any tasks scheduled.
2025-06-24 07:19:33 -07:00
Spottedleaf 38c1ddb52a Add and use FeatureHooks.getAllEntities
The ServerLevel#getAllEntities function only returns entities which
are accessible. FeatureHooks#getAllEntities will return all
entities, whether or not they are accessible.

Use the new hook in the EntityCommand, which allows server admins
to inspect entities in unloaded chunks.

Use the hook as well for ticking the EntityScheduler. This fixes
an issue whether unloaded entities did not have their scheduler ticked.
2025-06-24 04:55:58 -07:00
Owen 5edcf6ddf6 Cleanup/command dispatching (#12713) 2025-06-21 21:44:07 -04:00
Strokkur24 186e9e331b Relocate CommandMap#registerServerAliases() call to after lifecycle events have been run (#12601) 2025-06-21 14: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