diff --git a/camellia-server/minecraft-patches/features/0023-Replace-packet-processing-queue-with-mt-queue.patch b/camellia-server/minecraft-patches/features/0023-Replace-packet-processing-queue-with-mt-queue.patch new file mode 100644 index 0000000..da24241 --- /dev/null +++ b/camellia-server/minecraft-patches/features/0023-Replace-packet-processing-queue-with-mt-queue.patch @@ -0,0 +1,19 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: NanaChiyo0721 +Date: Mon, 13 Jul 2026 23:10:31 +0800 +Subject: [PATCH] Replace packet processing queue with mt-queue + + +diff --git a/net/minecraft/network/PacketProcessor.java b/net/minecraft/network/PacketProcessor.java +index 10fa576838c726d026df078eef6c693d14c2cbda..20fa23988efbfb50c664fa48cc823adbe8e6ce58 100644 +--- a/net/minecraft/network/PacketProcessor.java ++++ b/net/minecraft/network/PacketProcessor.java +@@ -11,7 +11,7 @@ import org.slf4j.Logger; + + public class PacketProcessor implements AutoCloseable { + private static final Logger LOGGER = LogUtils.getLogger(); +- private final Queue> packetsToBeHandled = Queues.newConcurrentLinkedQueue(); ++ private final Queue> packetsToBeHandled = new ca.spottedleaf.concurrentutil.collection.MultiThreadedQueue<>(); // Camellia - Replace packet processing queue with mt-queue + private final Thread runningThread; + private boolean closed; + diff --git a/camellia-server/minecraft-patches/features/0025-Async-protocol-switching-optimization.patch b/camellia-server/minecraft-patches/features/0024-Async-protocol-switching-optimization.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0025-Async-protocol-switching-optimization.patch rename to camellia-server/minecraft-patches/features/0024-Async-protocol-switching-optimization.patch diff --git a/camellia-server/minecraft-patches/features/0026-Improved-server-health-command.patch b/camellia-server/minecraft-patches/features/0025-Improved-server-health-command.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0026-Improved-server-health-command.patch rename to camellia-server/minecraft-patches/features/0025-Improved-server-health-command.patch diff --git a/camellia-server/minecraft-patches/features/0023-Kaiiju-Entity-tick-and-removal-limiter.patch b/camellia-server/minecraft-patches/features/0026-Kaiiju-Entity-tick-and-removal-limiter.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0023-Kaiiju-Entity-tick-and-removal-limiter.patch rename to camellia-server/minecraft-patches/features/0026-Kaiiju-Entity-tick-and-removal-limiter.patch diff --git a/camellia-server/minecraft-patches/features/0024-Kaiiju-Vanilla-end-portal-teleportation.patch b/camellia-server/minecraft-patches/features/0027-Kaiiju-Vanilla-end-portal-teleportation.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0024-Kaiiju-Vanilla-end-portal-teleportation.patch rename to camellia-server/minecraft-patches/features/0027-Kaiiju-Vanilla-end-portal-teleportation.patch diff --git a/camellia-server/minecraft-patches/features/0027-Add-config-to-support-for-long-command-inputs.patch b/camellia-server/minecraft-patches/features/0028-Add-config-to-support-for-long-command-inputs.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0027-Add-config-to-support-for-long-command-inputs.patch rename to camellia-server/minecraft-patches/features/0028-Add-config-to-support-for-long-command-inputs.patch diff --git a/camellia-server/minecraft-patches/features/0028-Add-config-for-server-mod-name.patch b/camellia-server/minecraft-patches/features/0029-Add-config-for-server-mod-name.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0028-Add-config-for-server-mod-name.patch rename to camellia-server/minecraft-patches/features/0029-Add-config-for-server-mod-name.patch diff --git a/camellia-server/minecraft-patches/features/0029-Add-config-for-cpu-affinity.patch b/camellia-server/minecraft-patches/features/0030-Add-config-for-cpu-affinity.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0029-Add-config-for-cpu-affinity.patch rename to camellia-server/minecraft-patches/features/0030-Add-config-for-cpu-affinity.patch diff --git a/camellia-server/minecraft-patches/features/0030-Add-config-for-unsafe-teleportation.patch b/camellia-server/minecraft-patches/features/0031-Add-config-for-unsafe-teleportation.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0030-Add-config-for-unsafe-teleportation.patch rename to camellia-server/minecraft-patches/features/0031-Add-config-for-unsafe-teleportation.patch diff --git a/camellia-server/minecraft-patches/features/0031-Add-config-for-watchdog-timeout.patch b/camellia-server/minecraft-patches/features/0032-Add-config-for-watchdog-timeout.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0031-Add-config-for-watchdog-timeout.patch rename to camellia-server/minecraft-patches/features/0032-Add-config-for-watchdog-timeout.patch diff --git a/camellia-server/minecraft-patches/features/0032-Add-config-to-disable-entity-tick-catchers.patch b/camellia-server/minecraft-patches/features/0033-Add-config-to-disable-entity-tick-catchers.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0032-Add-config-to-disable-entity-tick-catchers.patch rename to camellia-server/minecraft-patches/features/0033-Add-config-to-disable-entity-tick-catchers.patch diff --git a/camellia-server/minecraft-patches/features/0033-Add-config-for-heightmap-warning.patch b/camellia-server/minecraft-patches/features/0034-Add-config-for-heightmap-warning.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0033-Add-config-for-heightmap-warning.patch rename to camellia-server/minecraft-patches/features/0034-Add-config-for-heightmap-warning.patch diff --git a/camellia-server/minecraft-patches/features/0034-Add-config-gui-support.patch b/camellia-server/minecraft-patches/features/0035-Add-config-gui-support.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0034-Add-config-gui-support.patch rename to camellia-server/minecraft-patches/features/0035-Add-config-gui-support.patch diff --git a/camellia-server/minecraft-patches/features/0035-Add-force-the-data-command-to-be-enabled-config.patch b/camellia-server/minecraft-patches/features/0036-Add-force-the-data-command-to-be-enabled-config.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0035-Add-force-the-data-command-to-be-enabled-config.patch rename to camellia-server/minecraft-patches/features/0036-Add-force-the-data-command-to-be-enabled-config.patch diff --git a/camellia-server/minecraft-patches/features/0036-Add-experimental-config-for-command-block-command-ex.patch b/camellia-server/minecraft-patches/features/0037-Add-experimental-config-for-command-block-command-ex.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0036-Add-experimental-config-for-command-block-command-ex.patch rename to camellia-server/minecraft-patches/features/0037-Add-experimental-config-for-command-block-command-ex.patch diff --git a/camellia-server/minecraft-patches/features/0037-Add-config-to-modify-tripwire-behavior.patch b/camellia-server/minecraft-patches/features/0038-Add-config-to-modify-tripwire-behavior.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0037-Add-config-to-modify-tripwire-behavior.patch rename to camellia-server/minecraft-patches/features/0038-Add-config-to-modify-tripwire-behavior.patch diff --git a/camellia-server/minecraft-patches/features/0038-Add-config-for-item-multitask.patch b/camellia-server/minecraft-patches/features/0039-Add-config-for-item-multitask.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0038-Add-config-for-item-multitask.patch rename to camellia-server/minecraft-patches/features/0039-Add-config-for-item-multitask.patch diff --git a/camellia-server/minecraft-patches/features/0039-Add-config-to-enable-tick-command.patch b/camellia-server/minecraft-patches/features/0040-Add-config-to-enable-tick-command.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0039-Add-config-to-enable-tick-command.patch rename to camellia-server/minecraft-patches/features/0040-Add-config-to-enable-tick-command.patch diff --git a/camellia-server/minecraft-patches/features/0040-Add-config-for-whether-to-save-portal-tickets.patch b/camellia-server/minecraft-patches/features/0041-Add-config-for-whether-to-save-portal-tickets.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0040-Add-config-for-whether-to-save-portal-tickets.patch rename to camellia-server/minecraft-patches/features/0041-Add-config-for-whether-to-save-portal-tickets.patch diff --git a/camellia-server/minecraft-patches/features/0041-Add-portal-rate-limiter.patch b/camellia-server/minecraft-patches/features/0042-Add-portal-rate-limiter.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0041-Add-portal-rate-limiter.patch rename to camellia-server/minecraft-patches/features/0042-Add-portal-rate-limiter.patch diff --git a/camellia-server/minecraft-patches/features/0042-Add-status-bar.patch b/camellia-server/minecraft-patches/features/0043-Add-status-bar.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0042-Add-status-bar.patch rename to camellia-server/minecraft-patches/features/0043-Add-status-bar.patch diff --git a/camellia-server/minecraft-patches/features/0043-Leaves-Vanilla-Hopper.patch b/camellia-server/minecraft-patches/features/0044-Leaves-Vanilla-Hopper.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0043-Leaves-Vanilla-Hopper.patch rename to camellia-server/minecraft-patches/features/0044-Leaves-Vanilla-Hopper.patch diff --git a/camellia-server/minecraft-patches/features/0044-Leaves-Lithium-Sleeping-Block-Entity.patch b/camellia-server/minecraft-patches/features/0045-Leaves-Lithium-Sleeping-Block-Entity.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0044-Leaves-Lithium-Sleeping-Block-Entity.patch rename to camellia-server/minecraft-patches/features/0045-Leaves-Lithium-Sleeping-Block-Entity.patch diff --git a/camellia-server/minecraft-patches/features/0045-Petal-Reduce-sensor-work.patch b/camellia-server/minecraft-patches/features/0046-Petal-Reduce-sensor-work.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0045-Petal-Reduce-sensor-work.patch rename to camellia-server/minecraft-patches/features/0046-Petal-Reduce-sensor-work.patch diff --git a/camellia-server/minecraft-patches/features/0046-Purpur-Lobotomize-stuck-villagers.patch b/camellia-server/minecraft-patches/features/0047-Purpur-Lobotomize-stuck-villagers.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0046-Purpur-Lobotomize-stuck-villagers.patch rename to camellia-server/minecraft-patches/features/0047-Purpur-Lobotomize-stuck-villagers.patch diff --git a/camellia-server/minecraft-patches/features/0047-Pufferfish-Reduce-projectile-chunk-loading.patch b/camellia-server/minecraft-patches/features/0048-Pufferfish-Reduce-projectile-chunk-loading.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0047-Pufferfish-Reduce-projectile-chunk-loading.patch rename to camellia-server/minecraft-patches/features/0048-Pufferfish-Reduce-projectile-chunk-loading.patch diff --git a/camellia-server/minecraft-patches/features/0048-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch b/camellia-server/minecraft-patches/features/0049-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0048-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch rename to camellia-server/minecraft-patches/features/0049-Pufferfish-Throttle-goal-selector-during-inactive-ti.patch diff --git a/camellia-server/minecraft-patches/features/0049-Leaf-Secure-seed-and-matter-seed-command.patch b/camellia-server/minecraft-patches/features/0050-Leaf-Secure-seed-and-matter-seed-command.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0049-Leaf-Secure-seed-and-matter-seed-command.patch rename to camellia-server/minecraft-patches/features/0050-Leaf-Secure-seed-and-matter-seed-command.patch diff --git a/camellia-server/minecraft-patches/features/0050-Secure-seed-V2-with-Blake3.patch b/camellia-server/minecraft-patches/features/0051-Secure-seed-V2-with-Blake3.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0050-Secure-seed-V2-with-Blake3.patch rename to camellia-server/minecraft-patches/features/0051-Secure-seed-V2-with-Blake3.patch diff --git a/camellia-server/minecraft-patches/features/0051-Leaf-Replace-brain-maps-with-optimized-collection.patch b/camellia-server/minecraft-patches/features/0052-Leaf-Replace-brain-maps-with-optimized-collection.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0051-Leaf-Replace-brain-maps-with-optimized-collection.patch rename to camellia-server/minecraft-patches/features/0052-Leaf-Replace-brain-maps-with-optimized-collection.patch diff --git a/camellia-server/minecraft-patches/features/0052-Leaf-Remove-useless-creating-stats-json-bases-on-pla.patch b/camellia-server/minecraft-patches/features/0053-Leaf-Remove-useless-creating-stats-json-bases-on-pla.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0052-Leaf-Remove-useless-creating-stats-json-bases-on-pla.patch rename to camellia-server/minecraft-patches/features/0053-Leaf-Remove-useless-creating-stats-json-bases-on-pla.patch diff --git a/camellia-server/minecraft-patches/features/0053-Leaf-Optimize-PatchedDataComponentMap-equals.patch b/camellia-server/minecraft-patches/features/0054-Leaf-Optimize-PatchedDataComponentMap-equals.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0053-Leaf-Optimize-PatchedDataComponentMap-equals.patch rename to camellia-server/minecraft-patches/features/0054-Leaf-Optimize-PatchedDataComponentMap-equals.patch diff --git a/camellia-server/minecraft-patches/features/0054-Leaf-Better-checking-for-useless-move-packets.patch b/camellia-server/minecraft-patches/features/0055-Leaf-Better-checking-for-useless-move-packets.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0054-Leaf-Better-checking-for-useless-move-packets.patch rename to camellia-server/minecraft-patches/features/0055-Leaf-Better-checking-for-useless-move-packets.patch diff --git a/camellia-server/minecraft-patches/features/0055-Leaf-fast-bit-radix-sort.patch b/camellia-server/minecraft-patches/features/0056-Leaf-fast-bit-radix-sort.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0055-Leaf-fast-bit-radix-sort.patch rename to camellia-server/minecraft-patches/features/0056-Leaf-fast-bit-radix-sort.patch diff --git a/camellia-server/minecraft-patches/features/0056-Leaf-Configurable-vanilla-username-check.patch b/camellia-server/minecraft-patches/features/0057-Leaf-Configurable-vanilla-username-check.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0056-Leaf-Configurable-vanilla-username-check.patch rename to camellia-server/minecraft-patches/features/0057-Leaf-Configurable-vanilla-username-check.patch diff --git a/camellia-server/minecraft-patches/features/0057-Leaves-Disable-packet-limit-Camellia-Option-to-full-.patch b/camellia-server/minecraft-patches/features/0058-Leaves-Disable-packet-limit-Camellia-Option-to-full-.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0057-Leaves-Disable-packet-limit-Camellia-Option-to-full-.patch rename to camellia-server/minecraft-patches/features/0058-Leaves-Disable-packet-limit-Camellia-Option-to-full-.patch diff --git a/camellia-server/minecraft-patches/features/0058-Leaves-Configurable-collision-behavior.patch b/camellia-server/minecraft-patches/features/0059-Leaves-Configurable-collision-behavior.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0058-Leaves-Configurable-collision-behavior.patch rename to camellia-server/minecraft-patches/features/0059-Leaves-Configurable-collision-behavior.patch diff --git a/camellia-server/minecraft-patches/features/0059-Leaves-Optimized-dragon-respawn.patch b/camellia-server/minecraft-patches/features/0060-Leaves-Optimized-dragon-respawn.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0059-Leaves-Optimized-dragon-respawn.patch rename to camellia-server/minecraft-patches/features/0060-Leaves-Optimized-dragon-respawn.patch diff --git a/camellia-server/minecraft-patches/features/0060-Gale-Variable-entity-wake-up-duration.patch b/camellia-server/minecraft-patches/features/0061-Gale-Variable-entity-wake-up-duration.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0060-Gale-Variable-entity-wake-up-duration.patch rename to camellia-server/minecraft-patches/features/0061-Gale-Variable-entity-wake-up-duration.patch diff --git a/camellia-server/minecraft-patches/features/0061-Gale-Replace-AI-attributes-with-optimized-collection.patch b/camellia-server/minecraft-patches/features/0062-Gale-Replace-AI-attributes-with-optimized-collection.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0061-Gale-Replace-AI-attributes-with-optimized-collection.patch rename to camellia-server/minecraft-patches/features/0062-Gale-Replace-AI-attributes-with-optimized-collection.patch diff --git a/camellia-server/minecraft-patches/features/0062-Gale-Skip-entity-move-if-movement-is-zero.patch b/camellia-server/minecraft-patches/features/0063-Gale-Skip-entity-move-if-movement-is-zero.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0062-Gale-Skip-entity-move-if-movement-is-zero.patch rename to camellia-server/minecraft-patches/features/0063-Gale-Skip-entity-move-if-movement-is-zero.patch diff --git a/camellia-server/minecraft-patches/features/0063-Gale-Store-mob-counts-in-an-array.patch b/camellia-server/minecraft-patches/features/0064-Gale-Store-mob-counts-in-an-array.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0063-Gale-Store-mob-counts-in-an-array.patch rename to camellia-server/minecraft-patches/features/0064-Gale-Store-mob-counts-in-an-array.patch diff --git a/camellia-server/minecraft-patches/features/0064-Gale-Optimize-random-calls-in-chunk-ticking.patch b/camellia-server/minecraft-patches/features/0065-Gale-Optimize-random-calls-in-chunk-ticking.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0064-Gale-Optimize-random-calls-in-chunk-ticking.patch rename to camellia-server/minecraft-patches/features/0065-Gale-Optimize-random-calls-in-chunk-ticking.patch diff --git a/camellia-server/minecraft-patches/features/0065-Gale-Reduce-enderman-teleport-chunk-lookups.patch b/camellia-server/minecraft-patches/features/0066-Gale-Reduce-enderman-teleport-chunk-lookups.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0065-Gale-Reduce-enderman-teleport-chunk-lookups.patch rename to camellia-server/minecraft-patches/features/0066-Gale-Reduce-enderman-teleport-chunk-lookups.patch diff --git a/camellia-server/minecraft-patches/features/0066-Gale-Cache-ShapePairKey-hash.patch b/camellia-server/minecraft-patches/features/0067-Gale-Cache-ShapePairKey-hash.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0066-Gale-Cache-ShapePairKey-hash.patch rename to camellia-server/minecraft-patches/features/0067-Gale-Cache-ShapePairKey-hash.patch diff --git a/camellia-server/minecraft-patches/features/0067-Gale-For-collision-check-has-physics-before-same-veh.patch b/camellia-server/minecraft-patches/features/0068-Gale-For-collision-check-has-physics-before-same-veh.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0067-Gale-For-collision-check-has-physics-before-same-veh.patch rename to camellia-server/minecraft-patches/features/0068-Gale-For-collision-check-has-physics-before-same-veh.patch diff --git a/camellia-server/minecraft-patches/features/0068-Gale-Skip-negligible-planar-movement-multiplication.patch b/camellia-server/minecraft-patches/features/0069-Gale-Skip-negligible-planar-movement-multiplication.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0068-Gale-Skip-negligible-planar-movement-multiplication.patch rename to camellia-server/minecraft-patches/features/0069-Gale-Skip-negligible-planar-movement-multiplication.patch diff --git a/camellia-server/minecraft-patches/features/0069-Gale-Optimize-matching-item-checks.patch b/camellia-server/minecraft-patches/features/0070-Gale-Optimize-matching-item-checks.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0069-Gale-Optimize-matching-item-checks.patch rename to camellia-server/minecraft-patches/features/0070-Gale-Optimize-matching-item-checks.patch diff --git a/camellia-server/minecraft-patches/features/0070-Gale-Reduce-lambda-and-Optional-allocation-in-Entity.patch b/camellia-server/minecraft-patches/features/0071-Gale-Reduce-lambda-and-Optional-allocation-in-Entity.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0070-Gale-Reduce-lambda-and-Optional-allocation-in-Entity.patch rename to camellia-server/minecraft-patches/features/0071-Gale-Reduce-lambda-and-Optional-allocation-in-Entity.patch diff --git a/camellia-server/minecraft-patches/features/0071-Gale-Reduce-array-allocations.patch b/camellia-server/minecraft-patches/features/0072-Gale-Reduce-array-allocations.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0071-Gale-Reduce-array-allocations.patch rename to camellia-server/minecraft-patches/features/0072-Gale-Reduce-array-allocations.patch diff --git a/camellia-server/minecraft-patches/features/0072-Some-optimizations-from-krypton.patch b/camellia-server/minecraft-patches/features/0073-Some-optimizations-from-krypton.patch similarity index 100% rename from camellia-server/minecraft-patches/features/0072-Some-optimizations-from-krypton.patch rename to camellia-server/minecraft-patches/features/0073-Some-optimizations-from-krypton.patch