Configurable food attributes

This commit is contained in:
BillyGalbreath
2022-01-18 04:55:37 -06:00
parent 930084af05
commit db6920e35e
39 changed files with 231 additions and 134 deletions

View File

@@ -59,10 +59,10 @@ index 6d643998ee32de7f96b94e10fbd0b08a75628978..e2e83d8b39ddb154c0e69b63d5b99664
// Purpur end
}
diff --git a/src/main/java/org/purpurmc/purpur/PurpurConfig.java b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
index 4db13b4e9b37e2b704a3b0967ce26356753ef662..c2a3f004208dbaa84c810f5013da185174cbf525 100644
index 3d857d6dcc93e622311252e1bfa66106fbbdb372..e5d6d1c583ac82bf957cbbceafa62a9c80d08de2 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
@@ -246,6 +246,11 @@ public class PurpurConfig {
@@ -257,6 +257,11 @@ public class PurpurConfig {
public static String commandTPSBarTextColorMedium = "<gradient:#ffff55:#ffaa00><text></gradient>";
public static String commandTPSBarTextColorLow = "<gradient:#ff5555:#aa0000><text></gradient>";
public static int commandTPSBarTickInterval = 20;
@@ -74,7 +74,7 @@ index 4db13b4e9b37e2b704a3b0967ce26356753ef662..c2a3f004208dbaa84c810f5013da1851
public static boolean commandGamemodeRequiresPermission = false;
public static boolean hideHiddenPlayersFromEntitySelector = false;
public static String uptimeFormat = "<days><hours><minutes><seconds>";
@@ -268,6 +273,13 @@ public class PurpurConfig {
@@ -279,6 +284,13 @@ public class PurpurConfig {
commandTPSBarTextColorMedium = getString("settings.command.tpsbar.text-color.medium", commandTPSBarTextColorMedium);
commandTPSBarTextColorLow = getString("settings.command.tpsbar.text-color.low", commandTPSBarTextColorLow);
commandTPSBarTickInterval = getInt("settings.command.tpsbar.tick-interval", commandTPSBarTickInterval);