diff --git a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java index 852aaa9b..a9cb8e16 100644 --- a/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java +++ b/src/main/java/mod/acgaming/universaltweaks/config/UTConfigTweaks.java @@ -597,55 +597,64 @@ public static class AttributesCategory public boolean utAttributesToggle = true; @Config.Name("[02] Max Health Min") - public double utAttributeMaxHealthMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeMaxHealthMin = 0; @Config.Name("[03] Max Health Max") public double utAttributeMaxHealthMax = 65536; @Config.Name("[04] Follow Range Min") - public double utAttributeFollowRangeMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeFollowRangeMin = 0; @Config.Name("[05] Follow Range Max") public double utAttributeFollowRangeMax = 65536; @Config.Name("[06] Knockback Resistance Min") - public double utAttributeKnockbackResistanceMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeKnockbackResistanceMin = 0; @Config.Name("[07] Knockback Resistance Max") public double utAttributeKnockbackResistanceMax = 65536; @Config.Name("[08] Movement Speed Min") - public double utAttributeMovementSpeedMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeMovementSpeedMin = 0; @Config.Name("[09] Movement Speed Max") public double utAttributeMovementSpeedMax = 65536; @Config.Name("[10] Flying Speed Min") - public double utAttributeFlyingSpeedMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeFlyingSpeedMin = 0; @Config.Name("[11] Flying Speed Max") public double utAttributeFlyingSpeedMax = 65536; @Config.Name("[12] Attack Damage Min") - public double utAttributeAttackDamageMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeAttackDamageMin = 0; @Config.Name("[13] Attack Damage Max") public double utAttributeAttackDamageMax = 65536; @Config.Name("[14] Attack Speed Min") - public double utAttributeAttackSpeedMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeAttackSpeedMin = 0; @Config.Name("[15] Attack Speed Max") public double utAttributeAttackSpeedMax = 65536; @Config.Name("[16] Armor Min") - public double utAttributeArmorMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeArmorMin = 0; @Config.Name("[17] Armor Max") public double utAttributeArmorMax = 65536; @Config.Name("[18] Armor Toughness Min") - public double utAttributeArmorToughnessMin = -65536; + @Config.RangeDouble(min = 0) + public double utAttributeArmorToughnessMin = 0; @Config.Name("[19] Armor Toughness Max") public double utAttributeArmorToughnessMax = 65536;