Bjarne Koll
6c2b0378fe
Use correct saved data key for maps
2025-04-16 20:26:53 +02:00
David
6b4ad08259
Add PlayerRespawnEvent#isMissingRespawnBlock ( #12422 )
2025-04-14 19:43:19 +02:00
Emily
723b511fe1
Clone exit location passed to teleport event ( #12354 )
...
The exit location passed to PlayerTeleportEvent/PlayerTeleportEndGatewayEvent in ServerPlayer#teleport(TeleportTransition) needs to be cloned, as it is later compared in case it was changed. Not cloning it results in the ability for plugins to mutate it but such changes will be ignored, as the instance of the Location being the same results in a successful equality check.
It is not necessary to clone the location in other instantiations of the event (or subclasses) as those are not compared afterwards to change the outcome.
2025-04-14 17:28:29 +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
Nassim Jahnke
9b1798d643
Simplify custom payload handling ( #12347 )
2025-03-27 14:22:38 +01:00
Shane Bee
5a6ab97be6
Add config to remove player as vehicle restriction in /ride ( #12327 )
2025-03-24 00:55:15 +01:00
Tamion
515e12ca2d
Check if BUNDLE_CONTENTS is present in InventoryClickEvent ( #12321 )
2025-03-24 00:38:25 +01:00
Shane Freeder
2aad131e74
Add config option for command spam whitelist
2025-03-23 18:31:39 +00:00
Matthew Peters
894631f0d0
Make advancement ordering predictable ( #12292 )
2025-03-21 17:52:42 +01:00
Tamion
6ea42025a4
Send all attributes on respawn ( #12274 )
2025-03-13 12:41:03 +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
Tamion
102c8bbc54
Add config for updating equipment on player actions ( #12275 )
2025-03-12 11:09:27 +01:00
Spottedleaf
1a7288aa05
Adjust unloaded chunk check for block digging
2025-03-09 11:11:02 -07:00
0x22
743346a5da
Force update attributes
...
See https://github.com/PaperMC/Paper/pull/12241/
2025-03-09 11:11:02 -07:00
Bjarne Koll
e5d988df85
Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) ( #12215 )"
...
This reverts commit a2b0ff0644
.
2025-03-09 18:39:08 +01:00
Warrior
7afae7f465
Add client tick end event ( #12199 )
2025-03-09 13:14:44 -04:00
Shane Bee
34c794dc51
ServerTickManager#requestGameToSprint - Silence command like feedback ( #12220 )
...
* CraftServerTickManager - silence feedback when sprinting
* CraftServerTickManager - forgot secondary note
* ServerTickRateManager - only set to silent if not already sprinting
2025-03-08 17:09:40 -05:00
Noah van der Aa
a2b0ff0644
Fix cancelling PlayerInteractEvent at (0, 0, 0) ( #12215 )
...
---------
Co-authored-by: Warrior <50800980+warriorrrr@users.noreply.github.com >
2025-03-08 16:52:10 -05:00
Spottedleaf
4519857817
Set old position / rotation for newly created entities
...
Set the old pos/rot to be the same as the current pos/rot for new
entities as the default value for the old pos/rot is zero.
Fixes https://github.com/PaperMC/Folia/issues/302
2025-03-08 06:33:29 -08:00
Warrior
ca2610904b
Don't process empty rcon commands ( #12188 )
2025-02-25 22:03:14 +01:00
bonan
e5a8ee849f
Hide soul speed particles for vanished players ( #12152 )
...
Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com >
2025-02-21 12:02:32 +01:00
Bjarne Koll
142695eb00
Default minecraft alias to redirect ( #12146 )
...
While the running server will still be using the recently introduced
copy-mechanic for vanilla command namespacing, the data converter logic
relies on the fact that namespaced aliases were redirects as well.
To not break the converted, the commands type now takes a modern flag
only set by the running server.
2025-02-18 00:09:54 +01:00
Creeam
a3781ff3be
Separate tick count to ensure vanilla parity ( #12077 )
2025-02-16 20:46:37 +01:00
Lulu13022002
7bee99714a
Cleanup damage source a bit ( #12106 )
2025-02-16 20:14:00 +01:00
Pedro
cb25c0cf31
[ci skip] Fix annotation fields used in NMS getBukkitEntity ( #12120 )
2025-02-16 19:17:26 +01:00
Lulu13022002
d4a957849c
Experimental annotation changes ( #12028 )
2025-01-30 20:02:14 +01:00
caramel
7e21cb8181
fix PlayerChangedMainHandEvent javadoc ( #12020 )
...
* fix PlayerChangedMainHandEvent javadoc
* Obsolete
---------
Co-authored-by: Bjarne Koll <lynxplay101@gmail.com >
2025-01-26 14:00:32 -08:00
EnZaXD
fb5b173c6a
Add PlayerClientLoadedWorldEvent ( #11940 )
2025-01-25 21:47:08 +01:00
Bjarne Koll
8e80d4e158
Correctly construct StructureManager
2025-01-14 19:21:52 +01:00
Bjarne Koll
209e5f8580
Readd dropped hunk for ender dragon fight data ( #11975 )
...
Dragon fight data should be read from the now split world instead of the
main world level.dat.
Partial hunk was dropped during hardfork.
2025-01-14 19:03:30 +01:00
Creeam
86c6308faf
Fix locate command dist overflow/underflow ( #11956 )
2025-01-12 17:55:45 +01:00
Tamion
19ddbeff9e
Fix InventoryAction wrong for Bundles ( #11902 )
2025-01-11 19:50:24 +01:00
SoSeDiK
b242f1eb15
Prevent day cycle on the client when using fixed time ( #11924 )
2025-01-11 10:59:50 +01:00
Noah van der Aa
83995d7e80
Fix settings changes not being saved ( #11881 )
...
Closes #11878
2025-01-01 21:56:23 +01:00
Nassim Jahnke
1dd52bed49
Use playerlist whitelist status instead of properties
...
The actual property value is final, only the serialized output is changed. This uses the correct value from PlayerList instead
Fixes #11878
2025-01-01 18:53:23 +01:00
Strokkur24
93a3df085c
Extend HumanEntity#dropItem API ( #11810 )
2024-12-28 23:47:21 +01:00
Jake Potrebic
feb8756567
Add datapack registration lifecycle event ( #11804 )
2024-12-28 13:30:43 -08:00
Shane Freeder
c9a904ed17
Fix keepalive logic resetting counter
...
This would of actually arised in the client being kicked due to sending
bad keepalive packets due to the erronious extra sending of keepalives too
2024-12-26 15:19:56 +00:00
Warrior
763b32d825
Fix framed maps looping through all players in world ( #11819 )
2024-12-25 12:31:03 +01:00
Lulu13022002
9e2d39cd26
Fix double chest identification ( #11812 )
2024-12-24 22:57:24 +01:00
Jake Potrebic
eb793c3131
[ci skip] more cleanup from repo reorg
2024-12-22 19:07:17 -08:00
Lulu13022002
3bfdf6a07a
fix flying too long check
2024-12-21 19:27:59 +01:00
Bjarne Koll
286e3468d7
Some more cleanup
2024-12-21 16:03:34 +01:00
Nassim Jahnke
3b0b3a0aef
and some more
2024-12-21 13:45:04 +01:00
Nassim Jahnke
82216a59fe
Apply some feature patches to files instead
...
They're small and/or really shouldn't be left unapplied
2024-12-21 13:21:47 +01:00
Nassim Jahnke
e0593e9286
More diff/changed variable name cleanup
2024-12-21 12:15:25 +01:00
Nassim Jahnke
1dc6ad1df0
Fix vehicle movement check
2024-12-21 00:16:55 +01:00
Lulu13022002
051ab9117a
fix more diff
2024-12-20 23:39:43 +01:00
Lulu13022002
2213ce5bbc
fix enderpearl across portals
2024-12-20 21:22:58 +01:00
Spottedleaf
6186079231
Migrate ChunkSystem class to PaperHooks
2024-12-20 09:22:42 -08:00