소스 검색

Update to 1.16.5 and add more options to config

d4rkm0nkey 4 년 전
부모
커밋
92f3965429

+ 9 - 9
build.gradle

@@ -15,6 +15,10 @@ repositories {
         name = "CottonMC"
         url = "https://server.bbkr.space/artifactory/libs-release"
     }
+	maven { url "https://maven.shedaniel.me/" }
+	maven {
+  		url = "https://maven.terraformersmc.com/releases"
+	}
 }
 
 dependencies {
@@ -25,17 +29,13 @@ dependencies {
 
 	// Fabric API. This is technically optional, but you probably want it anyway.
 	modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
-	modImplementation "io.github.prospector:modmenu:1.14.6+build.31"
-	modImplementation "io.github.cottonmc:LibGui:3.0.0+1.16.3"
-	modApi("me.shedaniel.cloth:config-2:4.8.2") {
-        exclude(group: "net.fabricmc.fabric-api")
-    }
-	modApi("me.sargunvohra.mcmods:autoconfig1u:3.2.2") {
+	modImplementation "com.terraformersmc:modmenu:1.16.5"
+	modImplementation "io.github.cottonmc:LibGui:3.3.5+1.16.5"
+	modApi("me.shedaniel.cloth:cloth-config-fabric:4.11.14") {
         exclude(group: "net.fabricmc.fabric-api")
     }
-	include "me.shedaniel.cloth:config-2:4.8.2"
-	include "me.sargunvohra.mcmods:autoconfig1u:3.2.2"
-	include "io.github.cottonmc:LibGui:3.0.0+1.16.3"
+	include "me.shedaniel.cloth:cloth-config-fabric:4.11.14"
+	include "io.github.cottonmc:LibGui:3.3.5+1.16.5"
 	// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
 	// You may need to force-disable transitiveness on them.
 }

+ 4 - 4
gradle.properties

@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
 
 # Fabric Properties
 	# check these on https://fabricmc.net/use
-	minecraft_version=1.16.3
-	yarn_mappings=1.16.3+build.30
-	loader_version=0.10.1+build.209
+	minecraft_version=1.16.5
+	yarn_mappings=1.16.5+build.5
+	loader_version=0.11.2
 
 # Mod Properties
 	mod_version = 4.1.4
@@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
 
 # Dependencies
 	# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
-	fabric_version=0.23.0+build.410-1.16
+	fabric_version=0.31.0+1.16

+ 2 - 2
src/main/java/monkey/lumpy/horse/stats/vanilla/HorseStatsVanilla.java

@@ -1,8 +1,8 @@
 package monkey.lumpy.horse.stats.vanilla;
 
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
-import me.sargunvohra.mcmods.autoconfig1u.serializer.JanksonConfigSerializer;
 import net.fabricmc.api.ModInitializer;
+import me.shedaniel.autoconfig.AutoConfig;
+import me.shedaniel.autoconfig.serializer.JanksonConfigSerializer;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 
 public class HorseStatsVanilla implements ModInitializer {

+ 4 - 8
src/main/java/monkey/lumpy/horse/stats/vanilla/ModMenuApiImpl.java

@@ -1,8 +1,9 @@
 package monkey.lumpy.horse.stats.vanilla;
 
-import io.github.prospector.modmenu.api.ConfigScreenFactory;
-import io.github.prospector.modmenu.api.ModMenuApi;
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
+import com.terraformersmc.modmenu.api.ConfigScreenFactory;
+import com.terraformersmc.modmenu.api.ModMenuApi;
+
+import me.shedaniel.autoconfig.AutoConfig;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 import net.fabricmc.api.Environment;
 import net.fabricmc.api.EnvType;
@@ -10,11 +11,6 @@ import net.fabricmc.api.EnvType;
 @Environment(EnvType.CLIENT)
 public class ModMenuApiImpl implements ModMenuApi {
 
-    @Override
-    public String getModId() {
-        return "horsestatsvanilla";
-    }
-
     @Override
     public ConfigScreenFactory<?> getModConfigScreenFactory() {
         return parent -> AutoConfig.getConfigScreen(ModConfig.class, parent).get();

+ 98 - 3
src/main/java/monkey/lumpy/horse/stats/vanilla/config/ModConfig.java

@@ -1,11 +1,30 @@
 package monkey.lumpy.horse.stats.vanilla.config;
 
-import me.sargunvohra.mcmods.autoconfig1u.ConfigData;
-import me.sargunvohra.mcmods.autoconfig1u.annotation.Config;
-import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry;
+import me.shedaniel.autoconfig.ConfigData;
+import me.shedaniel.autoconfig.annotation.Config;
+import me.shedaniel.autoconfig.annotation.ConfigEntry;
+import me.shedaniel.autoconfig.annotation.ConfigEntry.Category;
+import me.shedaniel.math.Color;
 
 @Config(name = "horsestatsvanilla")
 public class ModConfig implements ConfigData {
+    static class ColorObj {
+        public ColorObj(int red, int green, int blue) {
+            this.red = red;
+            this.green = green;
+            this.blue = blue;
+        }
+        @ConfigEntry.BoundedDiscrete(max=255)
+        int red;
+        @ConfigEntry.BoundedDiscrete(max=255)
+        int green;
+        @ConfigEntry.BoundedDiscrete(max=255)
+        int blue;
+
+        Color getColor() {
+            return Color.ofRGB(red,green,blue);
+        }
+    }
     @ConfigEntry.Gui.Tooltip
     private boolean useColors = true;
     @ConfigEntry.Gui.Tooltip
@@ -13,6 +32,39 @@ public class ModConfig implements ConfigData {
     @ConfigEntry.Gui.Tooltip
     private boolean enableTooltip = true;
 
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float goodHorseJumpValue = 4;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float badHorseJumpValue = 2.5f;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float goodHorseSpeedValue = 11;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float badHorseSpeedValue = 7;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float goodHorseHeartsValue = 25;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float badHorseHeartsValue = 20;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float goodStrengthValue = 9;
+    @Category("coloring")
+    @ConfigEntry.Gui.Tooltip
+    private float badStrengthValue = 6;
+
+    
+    @ConfigEntry.Gui.CollapsibleObject
+    private ColorObj goodColor = new ColorObj(0,180,0);
+    @ConfigEntry.Gui.CollapsibleObject
+    private ColorObj neutralColor = new ColorObj(70,70,70);
+    @ConfigEntry.Gui.CollapsibleObject
+    private ColorObj badColor = new ColorObj(255,0,0);
+
     public boolean useColors() {
         return useColors;
     }
@@ -25,4 +77,47 @@ public class ModConfig implements ConfigData {
         return enableTooltip;
     }
     
+    public float getGoodHorseJumpValue() {
+        return goodHorseJumpValue;
+    }
+
+    public float getBadHorseJumpValue() {
+        return badHorseJumpValue;
+    }
+
+    public float getGoodHorseSpeedValue() {
+        return goodHorseSpeedValue;
+    }
+
+    public float getBadHorseSpeedValue() {
+        return badHorseSpeedValue;
+    }
+
+    public float getGoodHorseHeartsValue() {
+        return goodHorseHeartsValue;
+    }
+
+    public float getBadHorseHeartsValue() {
+        return badHorseHeartsValue;
+    }
+
+    public float getGoodStrengthValue() {
+        return goodStrengthValue;
+    }
+
+    public float getBadStrengthValue() {
+        return badStrengthValue;
+    }
+
+    public Color getGoodColor() {
+        return goodColor.getColor();
+    }
+
+    public Color getNeutralColor() {
+        return neutralColor.getColor();
+    }
+
+    public Color getBadColor() {
+        return badColor.getColor();
+    }
 }

+ 22 - 24
src/main/java/monkey/lumpy/horse/stats/vanilla/gui/Tooltip.java

@@ -4,14 +4,12 @@ import io.github.cottonmc.cotton.gui.client.LightweightGuiDescription;
 import io.github.cottonmc.cotton.gui.widget.WBox;
 import io.github.cottonmc.cotton.gui.widget.WLabel;
 import io.github.cottonmc.cotton.gui.widget.data.Axis;
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
+import me.shedaniel.autoconfig.AutoConfig;
+import me.shedaniel.math.Color;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 import net.minecraft.text.LiteralText;
 
 public class Tooltip extends LightweightGuiDescription {
-    private final int normalColor = 4210752;
-    private final int badColor = 16733525;
-    private final int goodColor = 43520;
     private ModConfig config;
 
     public Tooltip(double speed, double jump, int health, Integer strength) {
@@ -21,24 +19,24 @@ public class Tooltip extends LightweightGuiDescription {
         root.setSpacing(-8);
         
         // Coloring
-        int jumpColor = normalColor;
-        int speedColor = normalColor;
-        int hearthColor = normalColor;
+        Color jumpColor = config.getNeutralColor();
+        Color speedColor = config.getNeutralColor();
+        Color hearthColor = config.getNeutralColor();
         if(config == null || config.useColors()) {
-            if(jump > 4) {jumpColor = goodColor;}
-            else if (jump < 2.5) {jumpColor = badColor;};
+            if(jump > config.getGoodHorseJumpValue()) {jumpColor = config.getGoodColor();;}
+            else if (jump < config.getBadHorseJumpValue()) {jumpColor = config.getBadColor();};
     
-            if(speed > 11) {speedColor = goodColor;} 
-            else if (speed < 7) {speedColor = badColor;};
+            if(speed > config.getGoodHorseSpeedValue()) {speedColor = config.getGoodColor();} 
+            else if (speed < config.getBadHorseSpeedValue()) {speedColor = config.getBadColor();};
     
-            if(health> 25) {hearthColor = goodColor;} 
-            else if (health < 20) {hearthColor = badColor;};
+            if(health> config.getGoodHorseHeartsValue()) {hearthColor = config.getGoodColor();} 
+            else if (health < config.getBadHorseHeartsValue()) {hearthColor = config.getBadColor();};
         }
 
         WBox speedBox = new WBox(Axis.HORIZONTAL);
         
-        WLabel speedSymbol = new WLabel(new LiteralText("➟"), speedColor);
-        WLabel speedLabel = new WLabel(new LiteralText("" + speed), speedColor);
+        WLabel speedSymbol = new WLabel(new LiteralText("➟"), speedColor.hashCode());
+        WLabel speedLabel = new WLabel(new LiteralText("" + speed), speedColor.hashCode());
         // WLabel speedRange = new WLabel(new LiteralText("(4.8-14.5)"), normalColor);
         
         // speedSymbol.setVerticalAlignment(VerticalAlignment.CENTER);
@@ -49,8 +47,8 @@ public class Tooltip extends LightweightGuiDescription {
 
         WBox jumpBox = new WBox(Axis.HORIZONTAL);
         
-        WLabel jumpSymbol = new WLabel(new LiteralText("⇮"), jumpColor);
-        WLabel jumpLabel = new WLabel(new LiteralText("" + jump), jumpColor);
+        WLabel jumpSymbol = new WLabel(new LiteralText("⇮"), jumpColor.hashCode());
+        WLabel jumpLabel = new WLabel(new LiteralText("" + jump), jumpColor.hashCode());
         // WLabel jumpRange = new WLabel(new LiteralText("(1-5.1)"), normalColor);
         
         // jumpSymbol.setVerticalAlignment(VerticalAlignment.CENTER);
@@ -61,8 +59,8 @@ public class Tooltip extends LightweightGuiDescription {
 
         WBox healthBox = new WBox(Axis.HORIZONTAL);
         
-        WLabel healthSymbol = new WLabel(new LiteralText("♥"), hearthColor);
-        WLabel healthLabel = new WLabel(new LiteralText("" + health), hearthColor);
+        WLabel healthSymbol = new WLabel(new LiteralText("♥"), hearthColor.hashCode());
+        WLabel healthLabel = new WLabel(new LiteralText("" + health), hearthColor.hashCode());
         // WLabel healthRange = new WLabel(new LiteralText("(15-30)"), normalColor);
         
         // healthSymbol.setVerticalAlignment(VerticalAlignment.CENTER);
@@ -76,15 +74,15 @@ public class Tooltip extends LightweightGuiDescription {
         root.add(healthBox);
 
         if(strength != null) {
-            int strengthColor = normalColor;
+            Color strengthColor = config.getNeutralColor();;
             if(config == null || config.useColors()) {
-                if(strength > 9) {strengthColor = goodColor;} 
-                else if (strength < 6) {strengthColor = badColor;};
+                if(strength > config.getGoodStrengthValue()) {strengthColor = config.getGoodColor();} 
+                else if (strength < config.getGoodStrengthValue()) {strengthColor = config.getBadColor();};
             }
 
             WBox strengthBox = new WBox(Axis.HORIZONTAL);
-            WLabel strengthSymbol = new WLabel(new LiteralText("▦"), strengthColor);
-            WLabel strengthLabel = new WLabel(new LiteralText("" + strength), strengthColor);
+            WLabel strengthSymbol = new WLabel(new LiteralText("▦"), strengthColor.hashCode());
+            WLabel strengthLabel = new WLabel(new LiteralText("" + strength), strengthColor.hashCode());
             strengthBox.add(strengthSymbol);
             strengthBox.add(strengthLabel);
 

+ 1 - 1
src/main/java/monkey/lumpy/horse/stats/vanilla/mixin/AbstractDonkeyEntityMixin.java

@@ -7,7 +7,7 @@ import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.injection.Inject;
 import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
 
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
+import me.shedaniel.autoconfig.AutoConfig;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 import monkey.lumpy.horse.stats.vanilla.gui.ToolTipGui;
 import monkey.lumpy.horse.stats.vanilla.gui.Tooltip;

+ 1 - 1
src/main/java/monkey/lumpy/horse/stats/vanilla/mixin/HorseEntityMixin.java

@@ -8,7 +8,7 @@ import org.spongepowered.asm.mixin.injection.At;
 import org.spongepowered.asm.mixin.injection.Inject;
 import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
 
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
+import me.shedaniel.autoconfig.AutoConfig;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 import monkey.lumpy.horse.stats.vanilla.gui.ToolTipGui;
 import monkey.lumpy.horse.stats.vanilla.gui.Tooltip;

+ 28 - 31
src/main/java/monkey/lumpy/horse/stats/vanilla/mixin/HorseScreenMixin.java

@@ -14,7 +14,8 @@ import org.spongepowered.asm.mixin.Final;
 import org.spongepowered.asm.mixin.Mixin;
 import org.spongepowered.asm.mixin.Shadow;
 
-import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
+import me.shedaniel.autoconfig.AutoConfig;
+import me.shedaniel.math.Color;
 import monkey.lumpy.horse.stats.vanilla.config.ModConfig;
 import monkey.lumpy.horse.stats.vanilla.util.Converter;
 
@@ -26,10 +27,6 @@ public abstract class HorseScreenMixin extends HandledScreen<HorseScreenHandler>
     @Shadow
     @Final
     private HorseBaseEntity entity;
-
-    private final int normalColor = 4210752;
-    private final int badColor = 16733525;
-    private final int goodColor = 43520;
     private ModConfig config;
 
     public HorseScreenMixin(HorseScreenHandler handler, PlayerInventory inventory, Text title) {
@@ -51,60 +48,60 @@ public abstract class HorseScreenMixin extends HandledScreen<HorseScreenHandler>
         String speed = df.format(Converter.genericSpeedToBlocPerSec(this.entity.getAttributes().getValue(EntityAttributes.GENERIC_MOVEMENT_SPEED)));
 
         // Coloring
-        int jumpColor = normalColor;
-        int speedColor = normalColor;
-        int hearthColor = normalColor;
+        Color jumpColor = config.getNeutralColor();
+        Color speedColor = config.getNeutralColor();
+        Color hearthColor = config.getNeutralColor();
         if(config.useColors()) {
             double jumpValue = new BigDecimal(jumpstrength.replace(',', '.')).doubleValue();
             double speedValue = new BigDecimal(speed.replace(',', '.')).doubleValue();
             int healthValue = new BigDecimal(maxHealth.replace(',', '.')).intValue();
     
-            if(jumpValue > 4) {jumpColor = goodColor;}
-            else if (jumpValue < 2.5) {jumpColor = badColor;};
+            if(jumpValue > config.getGoodHorseJumpValue()) {jumpColor = config.getGoodColor();}
+            else if (jumpValue < config.getBadHorseJumpValue()) {jumpColor = config.getBadColor();};
     
-            if(speedValue > 11) {speedColor = goodColor;} 
-            else if (speedValue < 7) {speedColor = badColor;};
+            if(speedValue > config.getGoodHorseSpeedValue()) {speedColor = config.getGoodColor();} 
+            else if (speedValue < config.getBadHorseSpeedValue()) {speedColor = config.getBadColor();};
     
-            if(healthValue > 25) {hearthColor = goodColor;} 
-            else if (healthValue < 20) {hearthColor = badColor;};
+            if(healthValue > config.getGoodHorseHeartsValue()) {hearthColor = config.getGoodColor();} 
+            else if (healthValue < config.getBadHorseHeartsValue()) {hearthColor = config.getBadColor();};
         }
 
 
         if (!hasChest) {
             float spacer = 1.0F;
             if(config.showMaxMin()) {
-                this.textRenderer.draw(matrices, "(4.8-14.5)", 119.0F, 26.0F, normalColor);
-                this.textRenderer.draw(matrices, "(1-5.1)", 119.0F, 36.0F, normalColor);
-                this.textRenderer.draw(matrices, "(15-30)", 119.0F, 46.0F, normalColor);
+                this.textRenderer.draw(matrices, "(4.8-14.5)", 119.0F, 26.0F, config.getNeutralColor().hashCode());
+                this.textRenderer.draw(matrices, "(1-5.1)", 119.0F, 36.0F, config.getNeutralColor().hashCode());
+                this.textRenderer.draw(matrices, "(15-30)", 119.0F, 46.0F, config.getNeutralColor().hashCode());
             } else {
                 spacer = 10.0F;
             }
-            this.textRenderer.draw(matrices, "➟", 82.0F + spacer, 26.0F, speedColor);
-            this.textRenderer.draw(matrices, "" + speed, 93.0F + spacer, 26.0F, speedColor);
+            this.textRenderer.draw(matrices, "➟", 82.0F + spacer, 26.0F, speedColor.hashCode());
+            this.textRenderer.draw(matrices, "" + speed, 93.0F + spacer, 26.0F, speedColor.hashCode());
             
-            this.textRenderer.draw(matrices, "⇮", 84.0F + spacer, 36.0F, jumpColor);
-            this.textRenderer.draw(matrices, "" + jumpstrength, 93.0F + spacer, 36.0F, jumpColor);
-            this.textRenderer.draw(matrices, "♥", 83.0F + spacer, 46.0F, hearthColor);
-            this.textRenderer.draw(matrices, "" + maxHealth, 93.0F + spacer, 46.0F, hearthColor);
+            this.textRenderer.draw(matrices, "⇮", 84.0F + spacer, 36.0F, jumpColor.hashCode());
+            this.textRenderer.draw(matrices, "" + jumpstrength, 93.0F + spacer, 36.0F, jumpColor.hashCode());
+            this.textRenderer.draw(matrices, "♥", 83.0F + spacer, 46.0F, hearthColor.hashCode());
+            this.textRenderer.draw(matrices, "" + maxHealth, 93.0F + spacer, 46.0F, hearthColor.hashCode());
 
         } else {
-            this.textRenderer.draw(matrices, "➟ " + speed, 80.0F, 6.0F, speedColor);
-            this.textRenderer.draw(matrices, "⇮ " + jumpstrength, 115.0F, 6.0F, jumpColor);
-            this.textRenderer.draw(matrices, "♥ " + maxHealth, 140.0F, 6.0F, hearthColor);
+            this.textRenderer.draw(matrices, "➟ " + speed, 80.0F, 6.0F, speedColor.hashCode());
+            this.textRenderer.draw(matrices, "⇮ " + jumpstrength, 115.0F, 6.0F, jumpColor.hashCode());
+            this.textRenderer.draw(matrices, "♥ " + maxHealth, 140.0F, 6.0F, hearthColor.hashCode());
         }
 
-        int strengthColor = normalColor;
+        Color strengthColor = config.getNeutralColor();
 
         if (LlamaEntity.class.isAssignableFrom(this.entity.getClass())) {
             int strength = 3 * ((LlamaEntity) this.entity).getStrength();
 
             if(config.useColors()) {
-                if(strength > 9) {strengthColor = goodColor;} 
-                else if (strength < 6) {strengthColor = badColor;};
+                if(strength > config.getGoodHorseJumpValue()) {strengthColor = config.getGoodColor();} 
+                else if (strength < config.getBadHorseJumpValue()) {strengthColor = config.getBadColor();};
             }
             if (!hasChest) {
-                this.textRenderer.draw(matrices, "▦", 91.0F, 56.0F, strengthColor);
-                this.textRenderer.draw(matrices, "" + strength, 100.0F, 56.0F, strengthColor);
+                this.textRenderer.draw(matrices, "▦", 91.0F, 56.0F, strengthColor.hashCode());
+                this.textRenderer.draw(matrices, "" + strength, 100.0F, 56.0F, strengthColor.hashCode());
             }
         }
     }

+ 32 - 1
src/main/resources/assets/horsestatsvanilla/lang/de_de.json

@@ -5,5 +5,36 @@
     "text.autoconfig.horsestatsvanilla.option.enableTooltip": "Tooltip aktivieren",
     "text.autoconfig.horsestatsvanilla.option.useColors.@Tooltip": "Schlechte Werte werden rot und gute Werte grün dargestellt.",
     "text.autoconfig.horsestatsvanilla.option.showMaxMin.@Tooltip": "Maximal- und Minimalwerte anzeigen.",
-    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Tooltip anzeigen bei Shift + Rechtsklick auf ein Pferd."
+    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Tooltip anzeigen bei Shift + Rechtsklick auf ein Pferd.",
+    "text.autoconfig.horsestatsvanilla.category.default": "Allgemein",
+    "text.autoconfig.horsestatsvanilla.category.coloring": "Färbungseinstellungen",
+    "text.autoconfig.horsestatsvanilla.option.goodColor": "Farbe für gute Werte",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.red": "Rot",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.green": "Grün",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.blue": "Blau",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor": "Farbe für normale Werte",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.red": "Rot",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.green": "Grün",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.blue": "Blau",
+    "text.autoconfig.horsestatsvanilla.option.badColor": "Farbe für schlechte Werte",
+    "text.autoconfig.horsestatsvanilla.option.badColor.red": "Rot",
+    "text.autoconfig.horsestatsvanilla.option.badColor.green": "Grün",
+    "text.autoconfig.horsestatsvanilla.option.badColor.blue": "Blau",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue": "Gute Sprungkraft",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue": "Gute Geschwindigkeit",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue": "Gute Lebenspunkte",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue": "Gute Stärke",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue.@Tooltip": "Werte über diesem Wert werden als gut markiert.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue.@Tooltip": "Werte über diesem Wert werden als gut markiert.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue.@Tooltip": "Werte über diesem Wert werden als gut markiert.",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue.@Tooltip": "Werte über diesem Wert werden als gut markiert.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue": "Schlechte Sprungkraft",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue": "Schlechte Geschwindigkeit",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue": "Schlechte Lebenspunkte",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue": "Schlechte Stärke",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue.@Tooltip": "Werte unter diesem Wert werden als schlecht markiert.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue.@Tooltip": "Werte unter diesem Wert werden als schlecht markiert.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue.@Tooltip": "Werte unter diesem Wert werden als schlecht markiert.",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue.@Tooltip": "Werte unter diesem Wert werden als schlecht markiert."
+
 }

+ 31 - 1
src/main/resources/assets/horsestatsvanilla/lang/en_us.json

@@ -5,5 +5,35 @@
     "text.autoconfig.horsestatsvanilla.option.enableTooltip": "Enable Tooltip",
     "text.autoconfig.horsestatsvanilla.option.useColors.@Tooltip": "Highlight weak values red and good values green.",
     "text.autoconfig.horsestatsvanilla.option.showMaxMin.@Tooltip": "Display max and min values.",
-    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Show a tooltip when right-clicking on a horse while sneaking"
+    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Show a tooltip when right-clicking on a horse while sneaking",
+    "text.autoconfig.horsestatsvanilla.category.default": "General",
+    "text.autoconfig.horsestatsvanilla.category.coloring": "Coloring Options",
+    "text.autoconfig.horsestatsvanilla.option.goodColor": "Good Value Color",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.red": "Red",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.green": "Green",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.blue": "Blue",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor": "Neutral Value Color",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.red": "Red",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.green": "Green",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.blue": "Blue",
+    "text.autoconfig.horsestatsvanilla.option.badColor": "Bad Value Color",
+    "text.autoconfig.horsestatsvanilla.option.badColor.red": "Red",
+    "text.autoconfig.horsestatsvanilla.option.badColor.green": "Green",
+    "text.autoconfig.horsestatsvanilla.option.badColor.blue": "Blue",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue": "Good Jump Value",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue": "Good Speed Value",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue": "Good Hearts Value",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue": "Good Strength Value",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue.@Tooltip": "Anything above this value will be marked as good.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue.@Tooltip": "Anything above this value will be marked as good.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue.@Tooltip": "Anything above this value will be marked as good.",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue.@Tooltip": "Anything above this value will be marked as good.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue": "Bad Jump Value",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue": "Bad Speed Value",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue": "Bad Hearts Value",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue": "Bad Strength Value",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue.@Tooltip": "Anything below this value will be marked as bad.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue.@Tooltip": "Anything below this value will be marked as bad.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue.@Tooltip": "Anything below this value will be marked as bad.",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue.@Tooltip": "Anything below this value will be marked as bad."
 }

+ 31 - 1
src/main/resources/assets/horsestatsvanilla/lang/tr_tr.json

@@ -5,5 +5,35 @@
     "text.autoconfig.horsestatsvanilla.option.enableTooltip": "Açıklamayı etkinleştir",
     "text.autoconfig.horsestatsvanilla.option.useColors.@Tooltip": "Zayıf değerleri kırmızı, güçlü değerleri yeşille göster.",
     "text.autoconfig.horsestatsvanilla.option.showMaxMin.@Tooltip": "En çok ve en az değerleri göster.",
-    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Eğilirken bir ata sağ tıklayıp bir açıklama penceresi açın."
+    "text.autoconfig.horsestatsvanilla.option.enableTooltip.@Tooltip": "Eğilirken bir ata sağ tıklayıp bir açıklama penceresi açın.",
+    "text.autoconfig.horsestatsvanilla.category.default": "Genel",
+    "text.autoconfig.horsestatsvanilla.category.coloring": "Boyama Seçenekleri",
+    "text.autoconfig.horsestatsvanilla.option.goodColor": "İyi değerler için renk",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.red": "kırmızı",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.green": "yeşil",
+    "text.autoconfig.horsestatsvanilla.option.goodColor.blue": "mavi",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor": "Nötr değerler için renk",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.red": "kırmızı",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.green": "yeşil",
+    "text.autoconfig.horsestatsvanilla.option.neutralColor.blue": "mavi",
+    "text.autoconfig.horsestatsvanilla.option.badColor": "Kötü değerler için renk",
+    "text.autoconfig.horsestatsvanilla.option.badColor.red": "kırmızı",
+    "text.autoconfig.horsestatsvanilla.option.badColor.green": "yeşil",
+    "text.autoconfig.horsestatsvanilla.option.badColor.blue": "mavi",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue": "iyi atlama gücü",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue": "iyi hız",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue": "iyi sağlık noktaları",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue": "iyi güç",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseJumpValue.@Tooltip": "Bu değerin üzerindeki her şey iyi olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseSpeedValue.@Tooltip": "Bu değerin üzerindeki her şey iyi olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.goodHorseHeartsValue.@Tooltip": "Bu değerin üzerindeki her şey iyi olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.goodStrengthValue.@Tooltip": "Bu değerin üzerindeki her şey iyi olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue": "kötü atlama gücü",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue": "kötü hız",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue": "kötü sağlık noktaları",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue": "kötü güç",
+    "text.autoconfig.horsestatsvanilla.option.badHorseJumpValue.@Tooltip": "Bu değerin altındaki herhangi bir şey kötü olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseSpeedValue.@Tooltip": "Bu değerin altındaki herhangi bir şey kötü olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.badHorseHeartsValue.@Tooltip": "Bu değerin altındaki herhangi bir şey kötü olarak işaretlenecektir.",
+    "text.autoconfig.horsestatsvanilla.option.badStrengthValue.@Tooltip": "Bu değerin altındaki herhangi bir şey kötü olarak işaretlenecektir."
 }