ad42e22284
Merge remote-tracking branch 'upstream/main'
2025-06-26 22:39:23 +02:00
e3a46b30d9
Merge remote-tracking branch 'upstream/main'
2025-06-26 22:38:27 +02: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
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
David
5652882134
Add isProxyEnabled method to ServerConfiguration ( #12664 )
2025-06-21 13:09:44 +02:00
Kezz
4419afb9c9
fix: Safely handle nanosecond overflow in ClickCallback ( #12686 )
...
If you are creating a click callback using e.g. ChronoUnit.FOREVER.getDuration() this code will throw an ArithmeticException because toNanos overflows. The only way toNanos throws this exception is if the nanos overflow, so we can just safely cap it here as the max value for a long.
2025-06-21 12:58:46 +02:00
Spottedleaf
219f86ee06
Implement chunk unload delay config option
...
Fixes https://github.com/PaperMC/Paper/issues/12056
2025-06-20 21:07:21 -07:00
Bjarne Koll
a7dd263566
Enable spigot obfuscation support ( #12695 )
2025-06-20 22:11:33 +01:00
Lulu13022002
f5534cb7c7
[ci skip] Run generators ( #12691 )
2025-06-18 20:05:50 +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
Jake Potrebic
ba7fb23ddd
Finish moving over to Holderable ( #12646 )
2025-06-10 16:29:10 -07:00
Jake Potrebic
95565e0f4f
Add missing attribute serialization updater
2025-06-08 18:33:24 -07:00
11b4356fb4
Merge remote-tracking branch 'upstream/main'
SteamWarCI Build successful
2025-05-31 19:42:03 +02:00
Spottedleaf
6f315356b6
Add MCUtil#toLocation from Folia
...
Helper methods to convert NMS world/position to Bukkit Location
2025-05-29 04:58:00 -07:00
Jason Penilla
4765010083
Improve error messages when PluginRemapper fails to initialize ( #12598 )
2025-05-28 12:33:25 -07:00
Nassim Jahnke
b70bca6b69
Revert "fix: Don't hardcode checks for translation registries ( #12571 )"
...
This reverts commit f303a076bc .
2025-05-23 21:29:51 +02:00
Kezz
f303a076bc
fix: Don't hardcode checks for translation registries ( #12571 )
...
Devs can register custom Translator instances, and we can use the new `#canTranslate` method to avoid having to iterate through the whole set of sources.
2025-05-21 18:19:00 +02: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
Pedro
f1dbed072c
Implement BlocksAttack DamageReduction and ItemDamage ( #12538 )
2025-05-18 16:31:34 +02:00
Hjalmar Gunnarsson
c000b352ad
fix(bukkit-brig-forwarding-map): Invert isEmpty method ( #12555 )
2025-05-18 09:12:59 +02:00
Nassim Jahnke
04ffca0b6b
Also remove CraftPlayer methods
2025-05-09 14:55:41 +02: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
Pedro
753cff7c8a
Improvements for Dump paper commands ( #12512 )
2025-05-06 16:45:17 -04:00
Owen
42a2a6c2b5
Supports the ability for commands to be registered internally ( #12520 )
2025-05-06 16:05:00 -04:00
David
c98cd65802
Add configuration interface to expose certain config values ( #12273 )
2025-05-03 16:33:25 -04:00
Mart
88a3a87015
Configurable xp orb merge group count ( #12503 )
2025-05-03 20:51:19 +02:00
Isaac - The456
2bd84f6f0e
Expand PotionMeta Api to allow getting effective potion colour and effects ( #12390 )
2025-05-02 22:31:39 +02:00
Bjarne Koll
51345a1cc8
Correct nullable fall location type
2025-05-02 18:57:18 +02:00
Epic
b9b3cd652e
Use components instead of ChatColor in more places ( #12507 )
2025-05-02 02:11:25 +02:00
Epic
1acf3b3837
Infer block entity data in brigadier blockstate argument ( #12197 )
2025-05-01 16:08:41 +02:00
Lulu13022002
bc3d946fdf
Normalizes CraftEntity#toString/getHandle ( #12170 )
2025-04-30 21:21:04 -04:00
Pedro
5acfdd6af4
Fix save/load NaN Entity Motion ( #12269 )
2025-04-30 19:53:32 +02:00
Illia Bondar
e663f99982
Add combat tracker API ( #11853 )
2025-04-30 19:24:33 +02:00
b418321d85
Merge remote-tracking branch 'upstream/main'
SteamWarCI Build successful
2025-04-27 01:51:28 +02:00
Maddy Miller
1cfc96bcf7
Add keyStream() API to registries ( #12479 )
2025-04-25 14:26:56 +02:00
Lulu13022002
a112d37025
Fix horse_variant and tropical_fish_pattern ( #12472 )
2025-04-24 22:39:33 +02:00
Lulu13022002
767868ddbf
Fix some components ( #12457 )
2025-04-24 16:57:20 +02:00
0eb6b0403e
Merge remote-tracking branch 'upstream/main' into update/1.21.4
2025-04-23 19:50:01 +02:00
Isaac - The456
def0532ffc
Fix writing headers and update to be more papery ( #12459 )
2025-04-21 20:38:07 +02:00
Bjarne Koll
de410d13ef
Fix reobf mappings regression in GameRules.Type ( #12437 )
...
The recent commit 121a7bf4eb added
the interface FeatureElement to the GameRules.Type class to expose the
stored feature flags of gamerules.
This however messed with the reobf mappings spigot uses, as the now
overridden method requiredFeatures needs to be mapped to the same
obfuscated name as FeatureElement#requiredFeatures.
To avoid having this in the mappings patch, the commit removes the
inheritance again and instead exposes a wrapper method.
2025-04-14 17:05:01 +02:00
DerEchtePilz
121a7bf4eb
Make GameRule a FeatureDependant ( #12429 )
2025-04-14 13:21:14 +02:00
Nassim Jahnke
8ff94c6344
Update a bunch of dependencies
...
Either to match Vanilla or to update our own
2025-04-14 10:16:12 +02:00
Nassim Jahnke
f00727c57e
1.21.5
...
Co-authored-by: Bjarne Koll <git@lynxplay.dev >
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com >
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com >
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev >
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev >
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com >
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com >
Co-authored-by: Shane Freeder <theboyetronic@gmail.com >
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com >
Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com >
Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com >
2025-04-12 17:27:00 +02:00
Bjarne Koll
0cf731589a
Bump to adventure 4.20.0 ( #12391 )
...
* Update adventure to 4.19.0
The update only includes a new configuration for MiniMessage,
specifically one to prevent it from emitting virtual components.
As virtual components break the generated component tree, items quickly
become unstackable with items generated before adventure 4.18.
Plugin developers may construct their own mini message instance which
will emit virtual components if they so choose.
* Bump to adventure 4.20.0
2025-04-07 13:29:57 +02:00
6bc3fc6acd
Merge remote-tracking branch 'upstream/main' into update/1.21.4
2025-03-30 11:43:18 +02:00
Shane Bee
5a6ab97be6
Add config to remove player as vehicle restriction in /ride ( #12327 )
2025-03-24 00:55:15 +01:00
Nassim Jahnke
310f52293b
Add unsupported config option and internal API to simplify remote item matching
...
This is important for 1.21.5 servers/clients and non-Vanilla clients that may not be able to match 1.21.5 data hashes anymore
2025-03-13 12:32:50 +01:00