From 3526f22211b7d41e9bcda180664ef5dd7b6e22fe Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Mon, 28 Feb 2022 18:44:07 -0800 Subject: [PATCH] move patch relying on TraceUtil to after its creation --- ...0375-Validate-tripwire-hook-placement-before-update.patch} | 0 ...376-Add-option-to-allow-iron-golems-to-spawn-in-air.patch} | 4 ++-- ...77-Configurable-chance-of-villager-zombie-infection.patch} | 2 +- ...hunk-getFluid.patch => 0378-Optimise-Chunk-getFluid.patch} | 0 ...9-Set-spigots-verbose-world-setting-to-false-by-def.patch} | 2 +- ...d.patch => 0380-Add-tick-times-API-and-mspt-command.patch} | 0 ...ning.patch => 0381-Expose-MinecraftServer-isRunning.patch} | 0 ....patch => 0382-Add-Raw-Byte-ItemStack-Serialization.patch} | 2 +- ...illager-patrol-spawn-settings-and-per-player-option.patch} | 0 ... 0384-Remote-Connections-shouldn-t-hold-up-shutdown.patch} | 0 ... 0385-Do-not-allow-bees-to-load-chunks-for-beehives.patch} | 0 ...-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch} | 0 ...-dead-players.patch => 0387-Don-t-tick-dead-players.patch} | 0 ...tch => 0388-Dead-Player-s-shouldn-t-be-able-to-move.patch} | 0 ...patch => 0389-Optimize-Collision-to-not-load-chunks.patch} | 2 +- ... => 0390-Don-t-move-existing-players-to-world-spawn.patch} | 0 ...0391-Optimize-GoalSelector-Goal.Flag-Set-operations.patch} | 2 +- ...dog-Support.patch => 0392-Improved-Watchdog-Support.patch} | 0 ...mize-Pathfinding.patch => 0393-Optimize-Pathfinding.patch} | 2 +- ...ion.patch => 0394-Reduce-Either-Optional-allocation.patch} | 0 ...h => 0395-Reduce-memory-footprint-of-NBTTagCompound.patch} | 0 ...tch => 0396-Prevent-opening-inventories-when-frozen.patch} | 0 ...veIf.patch => 0397-Optimise-ArraySetSorted-removeIf.patch} | 2 +- ... 0398-Don-t-run-entity-collision-code-if-not-needed.patch} | 0 ...I.patch => 0399-Implement-Player-Client-Options-API.patch} | 2 +- ...on-t-crash-if-player-is-attempted-to-be-removed-fro.patch} | 2 +- ...ole.patch => 0401-Broadcast-join-message-to-console.patch} | 2 +- ...tch => 0402-Fix-Chunk-Post-Processing-deadlock-risk.patch} | 0 ...Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch} | 2 +- ....patch => 0404-Load-Chunks-for-Login-Asynchronously.patch} | 2 +- ...ove-player-to-spawn-point-if-spawn-in-unloaded-worl.patch} | 2 +- ...ch => 0406-Add-PlayerAttackEntityCooldownResetEvent.patch} | 0 ...ch => 0407-Don-t-fire-BlockFade-on-worldgen-threads.patch} | 0 ...=> 0408-Add-phantom-creative-and-insomniac-controls.patch} | 2 +- ...ix-numerous-item-duplication-issues-and-teleport-is.patch} | 2 +- ...er-Restocks-API.patch => 0410-Villager-Restocks-API.patch} | 0 ... 0411-Validate-PickItem-Packet-and-kick-for-invalid.patch} | 2 +- ...pose-game-version.patch => 0412-Expose-game-version.patch} | 0 ...-Merging.patch => 0413-Optimize-Voxel-Shape-Merging.patch} | 0 ...-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch} | 2 +- ...-debugging-dumps.patch => 0415-misc-debugging-dumps.patch} | 0 ...ies.patch => 0416-Prevent-teleporting-dead-entities.patch} | 4 ++-- 42 files changed, 21 insertions(+), 21 deletions(-) rename patches/server/{0376-Validate-tripwire-hook-placement-before-update.patch => 0375-Validate-tripwire-hook-placement-before-update.patch} (100%) rename patches/server/{0377-Add-option-to-allow-iron-golems-to-spawn-in-air.patch => 0376-Add-option-to-allow-iron-golems-to-spawn-in-air.patch} (90%) rename patches/server/{0378-Configurable-chance-of-villager-zombie-infection.patch => 0377-Configurable-chance-of-villager-zombie-infection.patch} (96%) rename patches/server/{0379-Optimise-Chunk-getFluid.patch => 0378-Optimise-Chunk-getFluid.patch} (100%) rename patches/server/{0380-Set-spigots-verbose-world-setting-to-false-by-def.patch => 0379-Set-spigots-verbose-world-setting-to-false-by-def.patch} (89%) rename patches/server/{0381-Add-tick-times-API-and-mspt-command.patch => 0380-Add-tick-times-API-and-mspt-command.patch} (100%) rename patches/server/{0382-Expose-MinecraftServer-isRunning.patch => 0381-Expose-MinecraftServer-isRunning.patch} (100%) rename patches/server/{0383-Add-Raw-Byte-ItemStack-Serialization.patch => 0382-Add-Raw-Byte-ItemStack-Serialization.patch} (96%) rename patches/server/{0384-Pillager-patrol-spawn-settings-and-per-player-option.patch => 0383-Pillager-patrol-spawn-settings-and-per-player-option.patch} (100%) rename patches/server/{0385-Remote-Connections-shouldn-t-hold-up-shutdown.patch => 0384-Remote-Connections-shouldn-t-hold-up-shutdown.patch} (100%) rename patches/server/{0386-Do-not-allow-bees-to-load-chunks-for-beehives.patch => 0385-Do-not-allow-bees-to-load-chunks-for-beehives.patch} (100%) rename patches/server/{0387-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch => 0386-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch} (100%) rename patches/server/{0388-Don-t-tick-dead-players.patch => 0387-Don-t-tick-dead-players.patch} (100%) rename patches/server/{0389-Dead-Player-s-shouldn-t-be-able-to-move.patch => 0388-Dead-Player-s-shouldn-t-be-able-to-move.patch} (100%) rename patches/server/{0390-Optimize-Collision-to-not-load-chunks.patch => 0389-Optimize-Collision-to-not-load-chunks.patch} (98%) rename patches/server/{0391-Don-t-move-existing-players-to-world-spawn.patch => 0390-Don-t-move-existing-players-to-world-spawn.patch} (100%) rename patches/server/{0392-Optimize-GoalSelector-Goal.Flag-Set-operations.patch => 0391-Optimize-GoalSelector-Goal.Flag-Set-operations.patch} (98%) rename patches/server/{0393-Improved-Watchdog-Support.patch => 0392-Improved-Watchdog-Support.patch} (100%) rename patches/server/{0394-Optimize-Pathfinding.patch => 0393-Optimize-Pathfinding.patch} (94%) rename patches/server/{0395-Reduce-Either-Optional-allocation.patch => 0394-Reduce-Either-Optional-allocation.patch} (100%) rename patches/server/{0396-Reduce-memory-footprint-of-NBTTagCompound.patch => 0395-Reduce-memory-footprint-of-NBTTagCompound.patch} (100%) rename patches/server/{0397-Prevent-opening-inventories-when-frozen.patch => 0396-Prevent-opening-inventories-when-frozen.patch} (100%) rename patches/server/{0398-Optimise-ArraySetSorted-removeIf.patch => 0397-Optimise-ArraySetSorted-removeIf.patch} (97%) rename patches/server/{0399-Don-t-run-entity-collision-code-if-not-needed.patch => 0398-Don-t-run-entity-collision-code-if-not-needed.patch} (100%) rename patches/server/{0400-Implement-Player-Client-Options-API.patch => 0399-Implement-Player-Client-Options-API.patch} (98%) rename patches/server/{0401-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch => 0400-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch} (92%) rename patches/server/{0402-Broadcast-join-message-to-console.patch => 0401-Broadcast-join-message-to-console.patch} (92%) rename patches/server/{0403-Fix-Chunk-Post-Processing-deadlock-risk.patch => 0402-Fix-Chunk-Post-Processing-deadlock-risk.patch} (100%) rename patches/server/{0404-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch => 0403-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch} (98%) rename patches/server/{0405-Load-Chunks-for-Login-Asynchronously.patch => 0404-Load-Chunks-for-Login-Asynchronously.patch} (99%) rename patches/server/{0406-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch => 0405-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch} (93%) rename patches/server/{0407-Add-PlayerAttackEntityCooldownResetEvent.patch => 0406-Add-PlayerAttackEntityCooldownResetEvent.patch} (100%) rename patches/server/{0408-Don-t-fire-BlockFade-on-worldgen-threads.patch => 0407-Don-t-fire-BlockFade-on-worldgen-threads.patch} (100%) rename patches/server/{0409-Add-phantom-creative-and-insomniac-controls.patch => 0408-Add-phantom-creative-and-insomniac-controls.patch} (97%) rename patches/server/{0410-Fix-numerous-item-duplication-issues-and-teleport-is.patch => 0409-Fix-numerous-item-duplication-issues-and-teleport-is.patch} (99%) rename patches/server/{0411-Villager-Restocks-API.patch => 0410-Villager-Restocks-API.patch} (100%) rename patches/server/{0412-Validate-PickItem-Packet-and-kick-for-invalid.patch => 0411-Validate-PickItem-Packet-and-kick-for-invalid.patch} (95%) rename patches/server/{0413-Expose-game-version.patch => 0412-Expose-game-version.patch} (100%) rename patches/server/{0414-Optimize-Voxel-Shape-Merging.patch => 0413-Optimize-Voxel-Shape-Merging.patch} (100%) rename patches/server/{0415-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch => 0414-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch} (93%) rename patches/server/{0416-misc-debugging-dumps.patch => 0415-misc-debugging-dumps.patch} (100%) rename patches/server/{0375-Prevent-teleporting-dead-entities.patch => 0416-Prevent-teleporting-dead-entities.patch} (88%) diff --git a/patches/server/0376-Validate-tripwire-hook-placement-before-update.patch b/patches/server/0375-Validate-tripwire-hook-placement-before-update.patch similarity index 100% rename from patches/server/0376-Validate-tripwire-hook-placement-before-update.patch rename to patches/server/0375-Validate-tripwire-hook-placement-before-update.patch diff --git a/patches/server/0377-Add-option-to-allow-iron-golems-to-spawn-in-air.patch b/patches/server/0376-Add-option-to-allow-iron-golems-to-spawn-in-air.patch similarity index 90% rename from patches/server/0377-Add-option-to-allow-iron-golems-to-spawn-in-air.patch rename to patches/server/0376-Add-option-to-allow-iron-golems-to-spawn-in-air.patch index 9b936e4d4..f924b0874 100644 --- a/patches/server/0377-Add-option-to-allow-iron-golems-to-spawn-in-air.patch +++ b/patches/server/0376-Add-option-to-allow-iron-golems-to-spawn-in-air.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add option to allow iron golems to spawn in air diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 67dcc28e5c5f6bdcafaea4bfe317203ddee09454..e0ebea2f62db5d0723aa353db49cdc3854aa5dd7 100644 +index 5ba23152d2c7e45a824d49246706aa98c5d535ba..4c49a7a686ad1ff386999c21fa25acd30a615abf 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java @@ -423,6 +423,11 @@ public class PaperWorldConfig { @@ -21,7 +21,7 @@ index 67dcc28e5c5f6bdcafaea4bfe317203ddee09454..e0ebea2f62db5d0723aa353db49cdc38 private void armorStandEntityLookups() { armorStandEntityLookups = getBoolean("armor-stands-do-collision-entity-lookups", true); diff --git a/src/main/java/net/minecraft/world/entity/animal/IronGolem.java b/src/main/java/net/minecraft/world/entity/animal/IronGolem.java -index b73968d0aa35d42db3cfecbbb056f24d87fb5cf5..d6bff18a60e1b0b507a3797742bfafff2fad10d2 100644 +index 3e4241d83ec26e575dcdbd0f7fb6b1edbf0b2d05..8299b48bad7a38d4310ca93b1de37d6c9170fc09 100644 --- a/src/main/java/net/minecraft/world/entity/animal/IronGolem.java +++ b/src/main/java/net/minecraft/world/entity/animal/IronGolem.java @@ -323,7 +323,7 @@ public class IronGolem extends AbstractGolem implements NeutralMob { diff --git a/patches/server/0378-Configurable-chance-of-villager-zombie-infection.patch b/patches/server/0377-Configurable-chance-of-villager-zombie-infection.patch similarity index 96% rename from patches/server/0378-Configurable-chance-of-villager-zombie-infection.patch rename to patches/server/0377-Configurable-chance-of-villager-zombie-infection.patch index 1bfe2c6a7..795b8b9c2 100644 --- a/patches/server/0378-Configurable-chance-of-villager-zombie-infection.patch +++ b/patches/server/0377-Configurable-chance-of-villager-zombie-infection.patch @@ -24,7 +24,7 @@ index 4c49a7a686ad1ff386999c21fa25acd30a615abf..c9d9461695d95e227f41b894b42b8be8 private void lightQueueSize() { lightQueueSize = getInt("light-queue-size", lightQueueSize); diff --git a/src/main/java/net/minecraft/world/entity/monster/Zombie.java b/src/main/java/net/minecraft/world/entity/monster/Zombie.java -index a54af7c5b970102e8ff7f46bf4dd34b19faf3b8a..de140adee6679e27598ecd7fe292cd657c7af303 100644 +index 996613d75f66d97c3bd5241ca1c1346b92ec06dd..0ca58915b6b2eaf6a9765ba75d3e0773690ea040 100644 --- a/src/main/java/net/minecraft/world/entity/monster/Zombie.java +++ b/src/main/java/net/minecraft/world/entity/monster/Zombie.java @@ -449,10 +449,13 @@ public class Zombie extends Monster { diff --git a/patches/server/0379-Optimise-Chunk-getFluid.patch b/patches/server/0378-Optimise-Chunk-getFluid.patch similarity index 100% rename from patches/server/0379-Optimise-Chunk-getFluid.patch rename to patches/server/0378-Optimise-Chunk-getFluid.patch diff --git a/patches/server/0380-Set-spigots-verbose-world-setting-to-false-by-def.patch b/patches/server/0379-Set-spigots-verbose-world-setting-to-false-by-def.patch similarity index 89% rename from patches/server/0380-Set-spigots-verbose-world-setting-to-false-by-def.patch rename to patches/server/0379-Set-spigots-verbose-world-setting-to-false-by-def.patch index ffe792e94..0af07e820 100644 --- a/patches/server/0380-Set-spigots-verbose-world-setting-to-false-by-def.patch +++ b/patches/server/0379-Set-spigots-verbose-world-setting-to-false-by-def.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Set spigots verbose world setting to false by def diff --git a/src/main/java/org/spigotmc/SpigotWorldConfig.java b/src/main/java/org/spigotmc/SpigotWorldConfig.java -index 58aaf0d98cbd6814ecdf00f46f8ff9fc7901006c..9f7541cb62600f022da75cba74731ff4e57f7f36 100644 +index d4f035aca1d63596fd52b21e34c69e8d08e24e7a..32f8a6aed0f69ad07ab5b42fee38a3471a59d426 100644 --- a/src/main/java/org/spigotmc/SpigotWorldConfig.java +++ b/src/main/java/org/spigotmc/SpigotWorldConfig.java @@ -20,7 +20,7 @@ public class SpigotWorldConfig diff --git a/patches/server/0381-Add-tick-times-API-and-mspt-command.patch b/patches/server/0380-Add-tick-times-API-and-mspt-command.patch similarity index 100% rename from patches/server/0381-Add-tick-times-API-and-mspt-command.patch rename to patches/server/0380-Add-tick-times-API-and-mspt-command.patch diff --git a/patches/server/0382-Expose-MinecraftServer-isRunning.patch b/patches/server/0381-Expose-MinecraftServer-isRunning.patch similarity index 100% rename from patches/server/0382-Expose-MinecraftServer-isRunning.patch rename to patches/server/0381-Expose-MinecraftServer-isRunning.patch diff --git a/patches/server/0383-Add-Raw-Byte-ItemStack-Serialization.patch b/patches/server/0382-Add-Raw-Byte-ItemStack-Serialization.patch similarity index 96% rename from patches/server/0383-Add-Raw-Byte-ItemStack-Serialization.patch rename to patches/server/0382-Add-Raw-Byte-ItemStack-Serialization.patch index 0bd429884..afb65dd73 100644 --- a/patches/server/0383-Add-Raw-Byte-ItemStack-Serialization.patch +++ b/patches/server/0382-Add-Raw-Byte-ItemStack-Serialization.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Add Raw Byte ItemStack Serialization Serializes using NBT which is safer for server data migrations than bukkits format. diff --git a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java -index 99322a92b16010ed2ed2505067096e6baef2f616..92cf689c0c2a6602a42319d0a665b3635ca88da5 100644 +index 7739b98398ee08b10c545cee6f9bd2c698a38fe2..6c2d35ab30285ffdd0e2ceda8af1293cb140f4d0 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java +++ b/src/main/java/org/bukkit/craftbukkit/util/CraftMagicNumbers.java @@ -422,6 +422,53 @@ public final class CraftMagicNumbers implements UnsafeValues { diff --git a/patches/server/0384-Pillager-patrol-spawn-settings-and-per-player-option.patch b/patches/server/0383-Pillager-patrol-spawn-settings-and-per-player-option.patch similarity index 100% rename from patches/server/0384-Pillager-patrol-spawn-settings-and-per-player-option.patch rename to patches/server/0383-Pillager-patrol-spawn-settings-and-per-player-option.patch diff --git a/patches/server/0385-Remote-Connections-shouldn-t-hold-up-shutdown.patch b/patches/server/0384-Remote-Connections-shouldn-t-hold-up-shutdown.patch similarity index 100% rename from patches/server/0385-Remote-Connections-shouldn-t-hold-up-shutdown.patch rename to patches/server/0384-Remote-Connections-shouldn-t-hold-up-shutdown.patch diff --git a/patches/server/0386-Do-not-allow-bees-to-load-chunks-for-beehives.patch b/patches/server/0385-Do-not-allow-bees-to-load-chunks-for-beehives.patch similarity index 100% rename from patches/server/0386-Do-not-allow-bees-to-load-chunks-for-beehives.patch rename to patches/server/0385-Do-not-allow-bees-to-load-chunks-for-beehives.patch diff --git a/patches/server/0387-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch b/patches/server/0386-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch similarity index 100% rename from patches/server/0387-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch rename to patches/server/0386-Prevent-Double-PlayerChunkMap-adds-crashing-server.patch diff --git a/patches/server/0388-Don-t-tick-dead-players.patch b/patches/server/0387-Don-t-tick-dead-players.patch similarity index 100% rename from patches/server/0388-Don-t-tick-dead-players.patch rename to patches/server/0387-Don-t-tick-dead-players.patch diff --git a/patches/server/0389-Dead-Player-s-shouldn-t-be-able-to-move.patch b/patches/server/0388-Dead-Player-s-shouldn-t-be-able-to-move.patch similarity index 100% rename from patches/server/0389-Dead-Player-s-shouldn-t-be-able-to-move.patch rename to patches/server/0388-Dead-Player-s-shouldn-t-be-able-to-move.patch diff --git a/patches/server/0390-Optimize-Collision-to-not-load-chunks.patch b/patches/server/0389-Optimize-Collision-to-not-load-chunks.patch similarity index 98% rename from patches/server/0390-Optimize-Collision-to-not-load-chunks.patch rename to patches/server/0389-Optimize-Collision-to-not-load-chunks.patch index 8cebcd055..7d9871196 100644 --- a/patches/server/0390-Optimize-Collision-to-not-load-chunks.patch +++ b/patches/server/0389-Optimize-Collision-to-not-load-chunks.patch @@ -26,7 +26,7 @@ index 3c176d48e6b1a8e165b5860cd443b36c65397ce9..c909163f664875bded56656ad3c0ca6c entityplayer1.setPos(entityplayer1.getX(), entityplayer1.getY() + 1.0D, entityplayer1.getZ()); } diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index b254affe962442c9363e41787454697c509c1cab..61fe669b567a3af5bfb6bc1c80f53b6abfde68ce 100644 +index 2983a5dfc781f40f345a8ca88c83c6af44ea2c7c..03ead8423d022f91f849990b6167d86fec066361 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -174,6 +174,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i diff --git a/patches/server/0391-Don-t-move-existing-players-to-world-spawn.patch b/patches/server/0390-Don-t-move-existing-players-to-world-spawn.patch similarity index 100% rename from patches/server/0391-Don-t-move-existing-players-to-world-spawn.patch rename to patches/server/0390-Don-t-move-existing-players-to-world-spawn.patch diff --git a/patches/server/0392-Optimize-GoalSelector-Goal.Flag-Set-operations.patch b/patches/server/0391-Optimize-GoalSelector-Goal.Flag-Set-operations.patch similarity index 98% rename from patches/server/0392-Optimize-GoalSelector-Goal.Flag-Set-operations.patch rename to patches/server/0391-Optimize-GoalSelector-Goal.Flag-Set-operations.patch index 0f741cb32..bf7743fe1 100644 --- a/patches/server/0392-Optimize-GoalSelector-Goal.Flag-Set-operations.patch +++ b/patches/server/0391-Optimize-GoalSelector-Goal.Flag-Set-operations.patch @@ -47,7 +47,7 @@ index 6667ecc4b7eded4e20a415cef1e1b1179e6710b8..4379b9948f1eecfe6fd7dea98e298ad5 protected int adjustedTickDelay(int ticks) { diff --git a/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java b/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java -index 2bb32378b19a21c94ff3ec8ed32fc9d6f0ad0fdb..7fdc1cbd04a5bba9648272985f51c849b07b8223 100644 +index ef8fe11bcda9fb8365d2c7efb2e088727dd849d9..c77fad612ba99663af2ec4418e3c2d68752dc2c8 100644 --- a/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java +++ b/src/main/java/net/minecraft/world/entity/ai/goal/GoalSelector.java @@ -30,10 +30,12 @@ public class GoalSelector { diff --git a/patches/server/0393-Improved-Watchdog-Support.patch b/patches/server/0392-Improved-Watchdog-Support.patch similarity index 100% rename from patches/server/0393-Improved-Watchdog-Support.patch rename to patches/server/0392-Improved-Watchdog-Support.patch diff --git a/patches/server/0394-Optimize-Pathfinding.patch b/patches/server/0393-Optimize-Pathfinding.patch similarity index 94% rename from patches/server/0394-Optimize-Pathfinding.patch rename to patches/server/0393-Optimize-Pathfinding.patch index 590eb8051..4259e4849 100644 --- a/patches/server/0394-Optimize-Pathfinding.patch +++ b/patches/server/0393-Optimize-Pathfinding.patch @@ -7,7 +7,7 @@ Prevents pathfinding from spamming failures for things such as arrow attacks. diff --git a/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java b/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java -index 9fba89aa8b1c257cdc3a63a5bd137320d66a37ec..b06789336098233b642b769b0fd60e740459874c 100644 +index 7991baa181d60ac037fd859278d00274ddb42be8..b47cd6d8ed02875bd9af54d27b7c1cda340e7f9f 100644 --- a/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java +++ b/src/main/java/net/minecraft/world/entity/ai/navigation/PathNavigation.java @@ -189,9 +189,29 @@ public abstract class PathNavigation { diff --git a/patches/server/0395-Reduce-Either-Optional-allocation.patch b/patches/server/0394-Reduce-Either-Optional-allocation.patch similarity index 100% rename from patches/server/0395-Reduce-Either-Optional-allocation.patch rename to patches/server/0394-Reduce-Either-Optional-allocation.patch diff --git a/patches/server/0396-Reduce-memory-footprint-of-NBTTagCompound.patch b/patches/server/0395-Reduce-memory-footprint-of-NBTTagCompound.patch similarity index 100% rename from patches/server/0396-Reduce-memory-footprint-of-NBTTagCompound.patch rename to patches/server/0395-Reduce-memory-footprint-of-NBTTagCompound.patch diff --git a/patches/server/0397-Prevent-opening-inventories-when-frozen.patch b/patches/server/0396-Prevent-opening-inventories-when-frozen.patch similarity index 100% rename from patches/server/0397-Prevent-opening-inventories-when-frozen.patch rename to patches/server/0396-Prevent-opening-inventories-when-frozen.patch diff --git a/patches/server/0398-Optimise-ArraySetSorted-removeIf.patch b/patches/server/0397-Optimise-ArraySetSorted-removeIf.patch similarity index 97% rename from patches/server/0398-Optimise-ArraySetSorted-removeIf.patch rename to patches/server/0397-Optimise-ArraySetSorted-removeIf.patch index 00d76711f..1aa31112c 100644 --- a/patches/server/0398-Optimise-ArraySetSorted-removeIf.patch +++ b/patches/server/0397-Optimise-ArraySetSorted-removeIf.patch @@ -6,7 +6,7 @@ Subject: [PATCH] Optimise ArraySetSorted#removeIf Remove iterator allocation and ensure the call is always O(n) diff --git a/src/main/java/net/minecraft/server/level/DistanceManager.java b/src/main/java/net/minecraft/server/level/DistanceManager.java -index 92bd7382f0e1e19c245587ff32dff3dd87a401a3..ea66ea9c9b64e95b52d9db41c0eafe52094eeb1e 100644 +index 6228f2f67541da62b0ae093de987662db9643740..8376439e36f0f75779d0fbefbe50b215a40c42aa 100644 --- a/src/main/java/net/minecraft/server/level/DistanceManager.java +++ b/src/main/java/net/minecraft/server/level/DistanceManager.java @@ -86,13 +86,27 @@ public abstract class DistanceManager { diff --git a/patches/server/0399-Don-t-run-entity-collision-code-if-not-needed.patch b/patches/server/0398-Don-t-run-entity-collision-code-if-not-needed.patch similarity index 100% rename from patches/server/0399-Don-t-run-entity-collision-code-if-not-needed.patch rename to patches/server/0398-Don-t-run-entity-collision-code-if-not-needed.patch diff --git a/patches/server/0400-Implement-Player-Client-Options-API.patch b/patches/server/0399-Implement-Player-Client-Options-API.patch similarity index 98% rename from patches/server/0400-Implement-Player-Client-Options-API.patch rename to patches/server/0399-Implement-Player-Client-Options-API.patch index dd2a6d2bd..038ce0d34 100644 --- a/patches/server/0400-Implement-Player-Client-Options-API.patch +++ b/patches/server/0399-Implement-Player-Client-Options-API.patch @@ -97,7 +97,7 @@ index 9b3f8b6ff7a2522e74bdbc914e35d566ab9c7697..e800229c294a04581c863349119f6727 if (getMainArm() != packet.mainHand()) { PlayerChangedMainHandEvent event = new PlayerChangedMainHandEvent(this.getBukkitEntity(), getMainArm() == HumanoidArm.LEFT ? MainHand.LEFT : MainHand.RIGHT); diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java -index 42062d64b7ea55f5360c435ef1953452d439029b..0a9d519596b074fd88fc3594d673189ef2c5e3d9 100644 +index dd77e9215c8e05e220520d5a0e2c3d1da93be054..7c406649f112e1b449d07d180c7f2d63b170f2ed 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -551,6 +551,24 @@ public class CraftPlayer extends CraftHumanEntity implements Player { diff --git a/patches/server/0401-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch b/patches/server/0400-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch similarity index 92% rename from patches/server/0401-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch rename to patches/server/0400-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch index 7724250eb..fe3a5aca2 100644 --- a/patches/server/0401-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch +++ b/patches/server/0400-Don-t-crash-if-player-is-attempted-to-be-removed-fro.patch @@ -7,7 +7,7 @@ Subject: [PATCH] Don't crash if player is attempted to be removed from I suspect it deals with teleporting as it uses players current x/y/z diff --git a/src/main/java/net/minecraft/server/level/DistanceManager.java b/src/main/java/net/minecraft/server/level/DistanceManager.java -index ea66ea9c9b64e95b52d9db41c0eafe52094eeb1e..cca9efd1b7aabc4b8010cf4b8b942c66adb7eee1 100644 +index 8376439e36f0f75779d0fbefbe50b215a40c42aa..4a9d0fca55b71f817defcb4286154c0a47bede03 100644 --- a/src/main/java/net/minecraft/server/level/DistanceManager.java +++ b/src/main/java/net/minecraft/server/level/DistanceManager.java @@ -300,8 +300,8 @@ public abstract class DistanceManager { diff --git a/patches/server/0402-Broadcast-join-message-to-console.patch b/patches/server/0401-Broadcast-join-message-to-console.patch similarity index 92% rename from patches/server/0402-Broadcast-join-message-to-console.patch rename to patches/server/0401-Broadcast-join-message-to-console.patch index a36f6c7db..a24b77b0f 100644 --- a/patches/server/0402-Broadcast-join-message-to-console.patch +++ b/patches/server/0401-Broadcast-join-message-to-console.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Broadcast join message to console diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java -index 11698ed04d77c974f18aa6981e7f1efa60c5c7b7..f32fad01c9f1b0642615be896bbf79f73f4656db 100644 +index 903a816ec6f4d1a9c82b7e32bd2b4fc9b78f3a5c..bb7260a179de2652accb79b5bd0f0e6624163ab4 100644 --- a/src/main/java/net/minecraft/server/players/PlayerList.java +++ b/src/main/java/net/minecraft/server/players/PlayerList.java @@ -293,7 +293,9 @@ public abstract class PlayerList { diff --git a/patches/server/0403-Fix-Chunk-Post-Processing-deadlock-risk.patch b/patches/server/0402-Fix-Chunk-Post-Processing-deadlock-risk.patch similarity index 100% rename from patches/server/0403-Fix-Chunk-Post-Processing-deadlock-risk.patch rename to patches/server/0402-Fix-Chunk-Post-Processing-deadlock-risk.patch diff --git a/patches/server/0404-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch b/patches/server/0403-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch similarity index 98% rename from patches/server/0404-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch rename to patches/server/0403-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch index 0a5181696..68ad10483 100644 --- a/patches/server/0404-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch +++ b/patches/server/0403-Fix-Longstanding-Broken-behavior-of-PlayerJoinEvent.patch @@ -28,7 +28,7 @@ receives a deterministic result, and should no longer require 1 tick delays anymore. diff --git a/src/main/java/net/minecraft/server/level/ChunkMap.java b/src/main/java/net/minecraft/server/level/ChunkMap.java -index a603e74d6bc936db997f9230fff1100946fa8075..79403282d297c2cfd20df964f65df62ec35bb45f 100644 +index 86a06c7ee3b92fbff1e21ad36b6034d892cd0c01..94a5fa9cac20597181f435998413b1981d8ef289 100644 --- a/src/main/java/net/minecraft/server/level/ChunkMap.java +++ b/src/main/java/net/minecraft/server/level/ChunkMap.java @@ -1623,6 +1623,7 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider diff --git a/patches/server/0405-Load-Chunks-for-Login-Asynchronously.patch b/patches/server/0404-Load-Chunks-for-Login-Asynchronously.patch similarity index 99% rename from patches/server/0405-Load-Chunks-for-Login-Asynchronously.patch rename to patches/server/0404-Load-Chunks-for-Login-Asynchronously.patch index c17acc7d9..bc37c146f 100644 --- a/patches/server/0405-Load-Chunks-for-Login-Asynchronously.patch +++ b/patches/server/0404-Load-Chunks-for-Login-Asynchronously.patch @@ -37,7 +37,7 @@ index be677d437d17b74c6188ce1bd5fc6fdc228fd92f..78fbb4c3e52e900956ae0811aaf934c8 public static final TicketType UNKNOWN = TicketType.create("unknown", Comparator.comparingLong(ChunkPos::toLong), 1); public static final TicketType PLUGIN = TicketType.create("plugin", (a, b) -> 0); // CraftBukkit diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 1353b0192f54a9419b853168307727307e4cee76..782501e6663fde112700c4ca8ccba073e45dd23a 100644 +index f961a0f5b571d86c8d2b57f489b421fbfb01ca3d..a041e73798e2c52026a8b9b3ff5c41bb7fa7263d 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -220,6 +220,7 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Ser diff --git a/patches/server/0406-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch b/patches/server/0405-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch similarity index 93% rename from patches/server/0406-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch rename to patches/server/0405-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch index 7bca0279f..50edad1be 100644 --- a/patches/server/0406-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch +++ b/patches/server/0405-Move-player-to-spawn-point-if-spawn-in-unloaded-worl.patch @@ -7,7 +7,7 @@ The code following this has better support for null worlds to move them back to the world spawn. diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 61fe669b567a3af5bfb6bc1c80f53b6abfde68ce..31a571ec0f4cd60b9ef192d1deb2c529e7a354ff 100644 +index 03ead8423d022f91f849990b6167d86fec066361..21cbab2bd5754158ae4aa1a95f8c80b685ec166b 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -2017,9 +2017,11 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i diff --git a/patches/server/0407-Add-PlayerAttackEntityCooldownResetEvent.patch b/patches/server/0406-Add-PlayerAttackEntityCooldownResetEvent.patch similarity index 100% rename from patches/server/0407-Add-PlayerAttackEntityCooldownResetEvent.patch rename to patches/server/0406-Add-PlayerAttackEntityCooldownResetEvent.patch diff --git a/patches/server/0408-Don-t-fire-BlockFade-on-worldgen-threads.patch b/patches/server/0407-Don-t-fire-BlockFade-on-worldgen-threads.patch similarity index 100% rename from patches/server/0408-Don-t-fire-BlockFade-on-worldgen-threads.patch rename to patches/server/0407-Don-t-fire-BlockFade-on-worldgen-threads.patch diff --git a/patches/server/0409-Add-phantom-creative-and-insomniac-controls.patch b/patches/server/0408-Add-phantom-creative-and-insomniac-controls.patch similarity index 97% rename from patches/server/0409-Add-phantom-creative-and-insomniac-controls.patch rename to patches/server/0408-Add-phantom-creative-and-insomniac-controls.patch index f30a08e6d..311f04b23 100644 --- a/patches/server/0409-Add-phantom-creative-and-insomniac-controls.patch +++ b/patches/server/0408-Add-phantom-creative-and-insomniac-controls.patch @@ -33,7 +33,7 @@ index b91a61be7c4829fce0ff8da290eab580e20bb78d..22f36cd3df49160f1b6668befdd05c22 private EntitySelector() {} // Paper start diff --git a/src/main/java/net/minecraft/world/entity/monster/Phantom.java b/src/main/java/net/minecraft/world/entity/monster/Phantom.java -index e032d3e854bd60c37a5e6328389de3361108d9b2..573107f1281e68c7ba00d4dea8fac02f2d18504d 100644 +index 84400bb44d5deb7c79295a83c4c3c6aac88f3175..ca9324381a60fc3072719c39918a1c16ac88799b 100644 --- a/src/main/java/net/minecraft/world/entity/monster/Phantom.java +++ b/src/main/java/net/minecraft/world/entity/monster/Phantom.java @@ -558,6 +558,7 @@ public class Phantom extends FlyingMob implements Enemy { diff --git a/patches/server/0410-Fix-numerous-item-duplication-issues-and-teleport-is.patch b/patches/server/0409-Fix-numerous-item-duplication-issues-and-teleport-is.patch similarity index 99% rename from patches/server/0410-Fix-numerous-item-duplication-issues-and-teleport-is.patch rename to patches/server/0409-Fix-numerous-item-duplication-issues-and-teleport-is.patch index 8d65b504d..49de0408d 100644 --- a/patches/server/0410-Fix-numerous-item-duplication-issues-and-teleport-is.patch +++ b/patches/server/0409-Fix-numerous-item-duplication-issues-and-teleport-is.patch @@ -16,7 +16,7 @@ So even if something NEW comes up, it would be impossible to drop the same item twice because the source was destroyed. diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index 31a571ec0f4cd60b9ef192d1deb2c529e7a354ff..0dc85e33e9748a87e2dfbbbfb1861bdf636dab33 100644 +index 21cbab2bd5754158ae4aa1a95f8c80b685ec166b..53c8583b8438571dd6fcec26c79a6594a4a6f786 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -2167,11 +2167,12 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource, i diff --git a/patches/server/0411-Villager-Restocks-API.patch b/patches/server/0410-Villager-Restocks-API.patch similarity index 100% rename from patches/server/0411-Villager-Restocks-API.patch rename to patches/server/0410-Villager-Restocks-API.patch diff --git a/patches/server/0412-Validate-PickItem-Packet-and-kick-for-invalid.patch b/patches/server/0411-Validate-PickItem-Packet-and-kick-for-invalid.patch similarity index 95% rename from patches/server/0412-Validate-PickItem-Packet-and-kick-for-invalid.patch rename to patches/server/0411-Validate-PickItem-Packet-and-kick-for-invalid.patch index f0294e9c7..e6a4d9322 100644 --- a/patches/server/0412-Validate-PickItem-Packet-and-kick-for-invalid.patch +++ b/patches/server/0411-Validate-PickItem-Packet-and-kick-for-invalid.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Validate PickItem Packet and kick for invalid diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 2859db2809a3d789b8246dd76f313e304d979e0f..81a1af417ea394a63d4d86b19fadbafce8963aac 100644 +index a041e73798e2c52026a8b9b3ff5c41bb7fa7263d..850ffa36da69abea61e9fd20145a9dbe3f8a5f18 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -881,7 +881,14 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Ser diff --git a/patches/server/0413-Expose-game-version.patch b/patches/server/0412-Expose-game-version.patch similarity index 100% rename from patches/server/0413-Expose-game-version.patch rename to patches/server/0412-Expose-game-version.patch diff --git a/patches/server/0414-Optimize-Voxel-Shape-Merging.patch b/patches/server/0413-Optimize-Voxel-Shape-Merging.patch similarity index 100% rename from patches/server/0414-Optimize-Voxel-Shape-Merging.patch rename to patches/server/0413-Optimize-Voxel-Shape-Merging.patch diff --git a/patches/server/0415-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch b/patches/server/0414-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch similarity index 93% rename from patches/server/0415-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch rename to patches/server/0414-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch index 9f6a56cec..9ca79e1b8 100644 --- a/patches/server/0415-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch +++ b/patches/server/0414-Set-cap-on-JDK-per-thread-native-byte-buffer-cache.patch @@ -17,7 +17,7 @@ keeping long lived large direct buffers in cache. Set system properly at server startup if not set already to help protect from this. diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java -index a5f8554e2cd43774b1978dce659062d9c7e7dbda..55bae3efbc630be6d40d415509de4c3e744a5004 100644 +index c579f586c9a2dcb6356b49f68591f61e0fa61b62..afcc80d1f79d1743b0940c69858eacec88fec889 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -28,6 +28,7 @@ public class Main { diff --git a/patches/server/0416-misc-debugging-dumps.patch b/patches/server/0415-misc-debugging-dumps.patch similarity index 100% rename from patches/server/0416-misc-debugging-dumps.patch rename to patches/server/0415-misc-debugging-dumps.patch diff --git a/patches/server/0375-Prevent-teleporting-dead-entities.patch b/patches/server/0416-Prevent-teleporting-dead-entities.patch similarity index 88% rename from patches/server/0375-Prevent-teleporting-dead-entities.patch rename to patches/server/0416-Prevent-teleporting-dead-entities.patch index bacbb52c7..e9454c60f 100644 --- a/patches/server/0375-Prevent-teleporting-dead-entities.patch +++ b/patches/server/0416-Prevent-teleporting-dead-entities.patch @@ -5,10 +5,10 @@ Subject: [PATCH] Prevent teleporting dead entities diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index c6328204024ffffd2cd0fe1a4ee921d846143987..e9fbbe197b991276111cad87fadde8d1077a7062 100644 +index 850ffa36da69abea61e9fd20145a9dbe3f8a5f18..7c7cd7e9ee014f5b822a94d394ab1978dcff7beb 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -@@ -1507,6 +1507,13 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Ser +@@ -1524,6 +1524,13 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Ser } private void internalTeleport(double d0, double d1, double d2, float f, float f1, Set set, boolean flag) {