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 30ca1d8dcd Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@4e1a255 Update try catch for command handling
PaperMC/Paper@e382e68 Fix 0 yield on explosion events
PaperMC/Paper@35b2c6e Use dropped item for stats info (#12747)
PaperMC/Paper@bd79e20 [ci skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723)
PaperMC/Paper@57c202e Allow adventure nbt codec to parse all tags
PaperMC/Paper@4d854e6 Disable MC-163962 fix by default
PaperMC/Paper@dda39a0 1.21.7-rc2
PaperMC/Paper@7f60924 Configuration API (#12301)
PaperMC/Paper@371a422 Remove a bunch more experimental annotations (#12712)
PaperMC/Paper@a9f74cb Readd dropped diff during 1.21.6
PaperMC/Paper@4045339 1.21.7
PaperMC/Paper@4c47c76 Update DataConverter constants for 1.21.7
PaperMC/Paper@9686f8b Enable obfuscation mappings for 1.21.7 (#12770)
PaperMC/Paper@723510f Make warning of PlayerLoginEvent use unique plugin names (#12772)
PaperMC/Paper@4cdcf00 Only namespaced reload (#12773)
PaperMC/Paper@00e79df Fix wrong size in InventoryType#PLAYER (#12758)
PaperMC/Paper@6e021c8 Fix CraftContainer#getNotchInventoryType detection of player inventory (#12751)
PaperMC/Paper@5661fbb Add registry builder for Instrument (#12682)
PaperMC/Paper@51d28af [ci skip] Typo in CartographyInventory (#12777)
PaperMC/Paper@6ea679e Allow listening to plugin messages during configuration phase (#12775)
PaperMC/Paper@c3be00f Always call plugin message dispatch on PlayerConnection
PaperMC/Paper@3fec37a Move the double call into the dispatch method
PaperMC/Paper@108255c Reduce PlayerLoginEvent alt behavior nag for now (#12782)
PaperMC/Paper@2141ca5 Port plugins command to brigadier (#12632)
2025-07-01 22:48:57 +01:00

11 lines
803 B
Diff

--- a/net/minecraft/server/level/ServerPlayer.java
+++ b/net/minecraft/server/level/ServerPlayer.java
@@ -429,6 +_,7 @@
public boolean isRealPlayer; // Paper
public @Nullable com.destroystokyo.paper.event.entity.PlayerNaturallySpawnCreaturesEvent playerNaturallySpawnedEvent; // Paper - PlayerNaturallySpawnCreaturesEvent
public @Nullable org.bukkit.event.player.PlayerQuitEvent.QuitReason quitReason = null; // Paper - Add API for quit reason; there are a lot of changes to do if we change all methods leading to the event
+ public double trackingRangeModifier = 1.0; // Sakura - entity tracking range modifier
// Paper start - rewrite chunk system
private ca.spottedleaf.moonrise.patches.chunk_system.player.RegionizedPlayerChunkLoader.PlayerChunkLoaderData chunkLoader;