diff --git a/leaf-archived-patches/work/server/minecraft-patches/features/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch b/leaf-archived-patches/removed/1.21.4/mcserver/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch similarity index 97% rename from leaf-archived-patches/work/server/minecraft-patches/features/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch rename to leaf-archived-patches/removed/1.21.4/mcserver/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch index 212977eb..7cdac9ec 100644 --- a/leaf-archived-patches/work/server/minecraft-patches/features/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch +++ b/leaf-archived-patches/removed/1.21.4/mcserver/0209-Use-ensureCapacity-to-pre-populate-the-size-of-ticki.patch @@ -4,6 +4,7 @@ Date: Sun, 16 Feb 2025 01:13:04 +0100 Subject: [PATCH] Use ensureCapacity to pre-populate the size of ticking chunks list output +Removed since Leaf 1.21.4 diff --git a/net/minecraft/server/level/ChunkMap.java b/net/minecraft/server/level/ChunkMap.java index 083b49c8fbdbde96b5be3e5531c21b2c96371b60..d77197ff56bd7acd7747af7d0dc937c31fa86a17 100644 diff --git a/leaf-archived-patches/work/server/minecraft-patches/features/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch b/leaf-archived-patches/removed/1.21.5/mcserver/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch similarity index 96% rename from leaf-archived-patches/work/server/minecraft-patches/features/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch rename to leaf-archived-patches/removed/1.21.5/mcserver/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch index e424b8cd..deca3824 100644 --- a/leaf-archived-patches/work/server/minecraft-patches/features/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch +++ b/leaf-archived-patches/removed/1.21.5/mcserver/0210-Directly-use-the-pre-filtered-ticking-chunks-list-as.patch @@ -6,6 +6,8 @@ Subject: [PATCH] Directly use the pre-filtered ticking chunks list as the This patch uses already pre filtered chunks, which completely skips the isChunkNearPlayer check +Removed since Leaf 1.21.5, rewrite by moonrise + diff --git a/net/minecraft/server/level/ChunkMap.java b/net/minecraft/server/level/ChunkMap.java index d77197ff56bd7acd7747af7d0dc937c31fa86a17..b0a5ded4012e892631f20829166e86fac8491339 100644 --- a/net/minecraft/server/level/ChunkMap.java diff --git a/leaf-archived-patches/work/server/minecraft-patches/features/0270-Cache-potential-behaviors-in-Brain.patch b/leaf-archived-patches/removed/1.21.6/mcserver/0270-Cache-potential-behaviors-in-Brain.patch similarity index 97% rename from leaf-archived-patches/work/server/minecraft-patches/features/0270-Cache-potential-behaviors-in-Brain.patch rename to leaf-archived-patches/removed/1.21.6/mcserver/0270-Cache-potential-behaviors-in-Brain.patch index 0b53e82f..9c7d7d0d 100644 --- a/leaf-archived-patches/work/server/minecraft-patches/features/0270-Cache-potential-behaviors-in-Brain.patch +++ b/leaf-archived-patches/removed/1.21.6/mcserver/0270-Cache-potential-behaviors-in-Brain.patch @@ -3,8 +3,7 @@ From: Taiyou06 Date: Sat, 7 Jun 2025 19:21:19 +0200 Subject: [PATCH] Cache potential behaviors in Brain -Replace by ActivityBitSet and cache availableBehaviorsByPriority TreeMap entry -TODO: benchmark +Replace by ActivityBitSet, BehaviorControlArraySet diff --git a/net/minecraft/world/entity/ai/Brain.java b/net/minecraft/world/entity/ai/Brain.java index 655c3028440e62bcc01d8f1b3e808fd68484128e..7f6572d2259cd244222e5893c9e906075cc3cb92 100644 diff --git a/leaf-archived-patches/work/server/minecraft-patches/features/0271-Use-ActivationList-on-runningBehaviors.patch b/leaf-archived-patches/removed/1.21.6/mcserver/0271-Use-ActivationList-on-runningBehaviors.patch similarity index 98% rename from leaf-archived-patches/work/server/minecraft-patches/features/0271-Use-ActivationList-on-runningBehaviors.patch rename to leaf-archived-patches/removed/1.21.6/mcserver/0271-Use-ActivationList-on-runningBehaviors.patch index 52ad29c9..14c0dde4 100644 --- a/leaf-archived-patches/work/server/minecraft-patches/features/0271-Use-ActivationList-on-runningBehaviors.patch +++ b/leaf-archived-patches/removed/1.21.6/mcserver/0271-Use-ActivationList-on-runningBehaviors.patch @@ -3,8 +3,7 @@ From: Taiyou06 Date: Sat, 7 Jun 2025 23:22:56 +0200 Subject: [PATCH] Use ActivationList on runningBehaviors -Replace by ActivityBitSet and cache availableBehaviorsByPriority TreeMap entry -TODO: benchmark +Replace by ActivityBitSet, BehaviorControlArraySet diff --git a/net/minecraft/world/entity/ai/Brain.java b/net/minecraft/world/entity/ai/Brain.java index 7f6572d2259cd244222e5893c9e906075cc3cb92..521f07a1ef8bfa708fcabf1434fdf133022ee92a 100644 diff --git a/leaf-archived-patches/removed/1.21.8/0217-Optimize-addOrUpdateTransientModifier.patch b/leaf-archived-patches/removed/1.21.8/mcserver/0217-Optimize-addOrUpdateTransientModifier.patch similarity index 98% rename from leaf-archived-patches/removed/1.21.8/0217-Optimize-addOrUpdateTransientModifier.patch rename to leaf-archived-patches/removed/1.21.8/mcserver/0217-Optimize-addOrUpdateTransientModifier.patch index 8826d718..e81248ac 100644 --- a/leaf-archived-patches/removed/1.21.8/0217-Optimize-addOrUpdateTransientModifier.patch +++ b/leaf-archived-patches/removed/1.21.8/mcserver/0217-Optimize-addOrUpdateTransientModifier.patch @@ -3,6 +3,7 @@ From: Taiyou06 Date: Sat, 22 Mar 2025 00:07:38 +0100 Subject: [PATCH] Optimize addOrUpdateTransientModifier +Removed since Leaf 1.21.8 diff --git a/net/minecraft/world/entity/ai/attributes/AttributeInstance.java b/net/minecraft/world/entity/ai/attributes/AttributeInstance.java index 7f8eb388308806008805970d4d8ed329440380ee..7f1b670eab23c02fb0f27cfa5ca0d0113794c8eb 100644