PaperMC/paper-server/patches/sources/net/minecraft/server
Owen1212055 d300c94ec2 Properly resend entities
This resolves some issues which caused entities to not be resent correctly.
Entities that are interacted with need to be resent to the client, so we resend all the entity
data to the player whilst making sure not to clear dirty entries from the tracker. This makes
sure that values will be correctly updated to other players.

This also adds utilities to aid in further preventing entity desyncs.

This also also fixes the bug causing cancelling PlayerInteractEvent to cause items to continue
to be used despite being cancelled on the server.

For example, items being consumed but never finishing, shields being put up, etc.
The underlying issue of this is that the client modifies their synced data values,
and so we have to (forcibly) resend them in order for the client to reset their using item state.

See: https://github.com/PaperMC/Paper/pull/1896

== AT ==
public net.minecraft.server.level.ChunkMap$TrackedEntity serverEntity
2022-12-07 17:25:19 -05:00
..
bossevents Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
commands Fix NPE on null loc for EntityTeleportEvent 2023-12-09 19:15:59 -08:00
dedicated Avoid issues with certain tasks not processing during sleep 2024-10-27 14:18:28 -07:00
gui Add onboarding message for initial server start 2024-03-10 20:10:41 +01:00
level Properly resend entities 2022-12-07 17:25:19 -05:00
network Properly resend entities 2022-12-07 17:25:19 -05:00
packs Improve logging and errors 2022-12-14 15:52:11 -08:00
players Properly resend entities 2022-12-07 17:25:19 -05:00
rcon Remote Connections shouldn't hold up shutdown 2020-03-31 03:50:42 -04:00
Bootstrap.java.patch Fix this stupid bullshit 2017-08-06 17:17:53 -05:00
Main.java.patch Fix demo flag not enabling demo mode 2023-04-07 20:11:17 +02:00
MinecraftServer.java.patch Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
PlayerAdvancements.java.patch Disable pretty printing for advancement saving 2024-09-20 14:17:37 +02:00
ReloadableServerRegistries.java.patch Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
ReloadableServerResources.java.patch Brigadier based command API 2022-08-01 22:50:34 -04:00
ServerAdvancementManager.java.patch Improve logging and errors 2022-12-14 15:52:11 -08:00
ServerFunctionLibrary.java.patch Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
ServerFunctionManager.java.patch Brigadier based command API 2022-08-01 22:50:34 -04:00
ServerScoreboard.java.patch Multiple Entries with Scoreboards 2021-09-21 18:17:33 -05:00
ServerTickRateManager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Services.java.patch Fix SPIGOT-5824 Bukkit world-container is not used 2020-07-10 13:12:33 -05:00
WorldLoader.java.patch Tag Lifecycle Events 2024-06-20 09:40:57 -07:00