This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
68 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
patches/server/0026-Revert-Purpur-commit-disable-pufferfish-mechanical-c.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: AlphaKR93 <alphakr93@outlook.com> | ||
Date: Wed, 28 Sep 2022 17:48:07 +0900 | ||
Subject: [PATCH] Revert Purpur commit "disable pufferfish mechanical changes | ||
by default" (229231a904a44fa5aff93cabaa3512a9e4bd05bc) | ||
|
||
|
||
diff --git a/src/main/java/gg/pufferfish/pufferfish/PufferfishConfig.java b/src/main/java/gg/pufferfish/pufferfish/PufferfishConfig.java | ||
index c9ae76401278057f87ebef13619a114722e81a1d..e7266845645982dfbc7708e702ed39135ac5f732 100644 | ||
--- a/src/main/java/gg/pufferfish/pufferfish/PufferfishConfig.java | ||
+++ b/src/main/java/gg/pufferfish/pufferfish/PufferfishConfig.java | ||
@@ -239,7 +239,7 @@ public class PufferfishConfig { | ||
public static int activationDistanceMod; | ||
|
||
private static void dynamicActivationOfBrains() throws IOException { | ||
- dearEnabled = getBoolean("dab.enabled", "activation-range.enabled", false); // Purpur | ||
+ dearEnabled = getBoolean("dab.enabled", "activation-range.enabled", true); // Purpur // Prismarine - revert change | ||
startDistance = getInt("dab.start-distance", "activation-range.start-distance", 12, | ||
"This value determines how far away an entity has to be", | ||
"from the player to start being effected by DEAR."); | ||
@@ -283,7 +283,7 @@ public class PufferfishConfig { | ||
|
||
public static boolean throttleInactiveGoalSelectorTick; | ||
private static void inactiveGoalSelectorThrottle() { | ||
- getBoolean("inactive-goal-selector-throttle", "inactive-goal-selector-disable", false, // Purpur | ||
+ getBoolean("inactive-goal-selector-throttle", "inactive-goal-selector-disable", true, // Purpur // Prismarine - revert change | ||
"Throttles the AI goal selector in entity inactive ticks.", | ||
"This can improve performance by a few percent, but has minor gameplay implications."); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
purpur = 229231a904a44fa5aff93cabaa3512a9e4bd05bc | ||
purpur = dc8af93dfd232ab2971893d0b6c39c2649114b1f | ||
pufferfish = 58865aa0d59aa6f459d4256f78917e97428a6124 |