mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-26 18:39:23 +00:00
move some archive patches
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -3,8 +3,7 @@ From: Taiyou06 <kaandindar21@gmail.com>
|
||||
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
|
||||
@@ -3,8 +3,7 @@ From: Taiyou06 <kaandindar21@gmail.com>
|
||||
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
|
||||
@@ -3,6 +3,7 @@ From: Taiyou06 <kaandindar21@gmail.com>
|
||||
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
|
||||
Reference in New Issue
Block a user