9
0
mirror of https://github.com/Samsuik/Sakura.git synced 2025-12-19 23:09:32 +00:00
Files
SakuraMC/sakura-server/minecraft-patches/sources/net/minecraft/server/level/ServerPlayer.java.patch
Samsuik 5e7c365ce6 Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@0a4eb8f Send the pong response packet immediately. This packet is similar to the keep alive packet and is processed async. (#12242)
PaperMC/Paper@7a3d0c4 Fix recipe being always null in PrepareItemCraftEvent from the api (#12237)
PaperMC/Paper@a6ce734 Fix zombie villager not dropping item once cured (#12230)
PaperMC/Paper@ce30016 Skip alpha channel for custom model data component (#12205)
PaperMC/Paper@4519857 Set old position / rotation for newly created entities
PaperMC/Paper@8e69d98 Player - Expose player score (#12243)
PaperMC/Paper@2526fe0 Add type to represent unimplemented data component types (#12222)
PaperMC/Paper@20df25d Don't resync all attributes when updating scaled health (#12232)
PaperMC/Paper@43f37b1 Remove ItemFactory#enchantWithLevels range check for vanilla parity (#12209)
PaperMC/Paper@a2b0ff0 Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)
PaperMC/Paper@df96f8a Correctly handle events for end portal (#12246)
PaperMC/Paper@2565497 Cancel PlayerLaunchProjectileEvent properly for enderpearls (#12223)
PaperMC/Paper@34c794d ServerTickManager#requestGameToSprint - Silence command like feedback (#12220)
PaperMC/Paper@3d13b11 fix: switch back to using a snapshot for velocity-natives
PaperMC/Paper@7afae7f Add client tick end event (#12199)
PaperMC/Paper@e5d988d Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) (#12215)"
PaperMC/Paper@743346a Force update attributes
PaperMC/Paper@1a7288a Adjust unloaded chunk check for block digging
PaperMC/Paper@f4f2755 [ci skip] Clarify BlockFadeEvent#getNewState javadocs (#12250)
PaperMC/Paper@102c8bb Add config for updating equipment on player actions (#12275)
PaperMC/Paper@f0388e2 Call EntityPushedByEntityAttackEvent for Mace AoE (#12257)
PaperMC/Paper@c37b890 More deferred requireNonNull message creation
PaperMC/Paper@310f522 Add unsupported config option and internal API to simplify remote item matching
PaperMC/Paper@6ea4202 Send all attributes on respawn (#12274)
2025-03-15 15:48:33 +00:00

11 lines
526 B
Diff

--- a/net/minecraft/server/level/ServerPlayer.java
+++ b/net/minecraft/server/level/ServerPlayer.java
@@ -430,6 +_,7 @@
return this.viewDistanceHolder;
}
// Paper end - rewrite chunk system
+ public double trackingRangeModifier = 1.0; // Sakura - entity tracking range modifier
public ServerPlayer(MinecraftServer server, ServerLevel level, GameProfile gameProfile, ClientInformation clientInformation) {
super(level, level.getSharedSpawnPos(), level.getSharedSpawnAngle(), gameProfile);