From bc87c6588030cc54960afe6bae717ec593ff495a Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Tue, 21 Jan 2025 01:32:33 -0500 Subject: [PATCH] [ci skip] cleanup --- ...Reduce-active-items-finding-hopper-nearby-check.patch} | 8 ++++---- ...Reduce-active-items-finding-hopper-nearby-check.patch} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename leaf-server/gale-patches/features/{0003-Reduce-items-finding-hopper-nearby-check.patch => 0003-Reduce-active-items-finding-hopper-nearby-check.patch} (79%) rename leaf-server/minecraft-patches/features/{0031-Reduce-items-finding-hopper-nearby-check.patch => 0031-Reduce-active-items-finding-hopper-nearby-check.patch} (90%) diff --git a/leaf-server/gale-patches/features/0003-Reduce-items-finding-hopper-nearby-check.patch b/leaf-server/gale-patches/features/0003-Reduce-active-items-finding-hopper-nearby-check.patch similarity index 79% rename from leaf-server/gale-patches/features/0003-Reduce-items-finding-hopper-nearby-check.patch rename to leaf-server/gale-patches/features/0003-Reduce-active-items-finding-hopper-nearby-check.patch index 1d0e4419..905f76ba 100644 --- a/leaf-server/gale-patches/features/0003-Reduce-items-finding-hopper-nearby-check.patch +++ b/leaf-server/gale-patches/features/0003-Reduce-active-items-finding-hopper-nearby-check.patch @@ -1,22 +1,22 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:53:10 -0500 -Subject: [PATCH] Reduce items finding hopper nearby check +Subject: [PATCH] Reduce active items finding hopper nearby check -This patch add a toggle for items checking MinecraftHopper nearby, +This patch add a toggle for active items checking MinecraftHopper nearby, But still recommend to turn-off `checkForMinecartNearItemWhileActive` Since `Reduce-hopper-item-checks.patch` will cause lag under massive dropped items diff --git a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java -index 37896174667b884fcdc83b0a613686d76b66f247..e91809338be21d0bded2b700e80800ef33c768e0 100644 +index 37896174667b884fcdc83b0a613686d76b66f247..81e853a10028d7ae4cf58a722fffdaa5a121932e 100644 --- a/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java +++ b/src/main/java/org/galemc/gale/configuration/GaleWorldConfiguration.java @@ -78,6 +78,7 @@ public class GaleWorldConfiguration extends ConfigurationPart { public int duration = 100; public int nearbyItemMaxAge = 1200; public int checkForMinecartNearItemInterval = 20; -+ public boolean checkForMinecartNearItemWhileActive = false; // Leaf - Reduce items finding hopper nearby check ++ public boolean checkForMinecartNearItemWhileActive = false; // Leaf - Reduce active items finding hopper nearby check public boolean checkForMinecartNearItemWhileInactive = true; public double maxItemHorizontalDistance = 24.0; public double maxItemVerticalDistance = 4.0; diff --git a/leaf-server/minecraft-patches/features/0031-Reduce-items-finding-hopper-nearby-check.patch b/leaf-server/minecraft-patches/features/0031-Reduce-active-items-finding-hopper-nearby-check.patch similarity index 90% rename from leaf-server/minecraft-patches/features/0031-Reduce-items-finding-hopper-nearby-check.patch rename to leaf-server/minecraft-patches/features/0031-Reduce-active-items-finding-hopper-nearby-check.patch index b0d524e7..f7ece2b6 100644 --- a/leaf-server/minecraft-patches/features/0031-Reduce-items-finding-hopper-nearby-check.patch +++ b/leaf-server/minecraft-patches/features/0031-Reduce-active-items-finding-hopper-nearby-check.patch @@ -1,9 +1,9 @@ From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Mon, 15 Jan 2024 10:53:10 -0500 -Subject: [PATCH] Reduce items finding hopper nearby check +Subject: [PATCH] Reduce active items finding hopper nearby check -This patch add a toggle for items checking MinecraftHopper nearby, +This patch add a toggle for active items checking MinecraftHopper nearby, But still recommend to turn-off `checkForMinecartNearItemWhileActive` Since `Reduce-hopper-item-checks.patch` will cause lag under massive dropped items