aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/tectech/loader/ConfigHandler.java
diff options
context:
space:
mode:
authorStaffiX <32968022+StaffiX@users.noreply.github.com>2024-11-13 11:20:15 +0100
committerGitHub <noreply@github.com>2024-11-13 10:20:15 +0000
commit479ab37a236feb22b4db57176cc7857d7c1f5262 (patch)
treea38c6b7ed7afc31c953c3437b86efeb24a7e53b8 /src/main/java/tectech/loader/ConfigHandler.java
parentbfe3508ec174a35ad2fceea49990030f6129e408 (diff)
downloadGT5-Unofficial-479ab37a236feb22b4db57176cc7857d7c1f5262.tar.gz
GT5-Unofficial-479ab37a236feb22b4db57176cc7857d7c1f5262.tar.bz2
GT5-Unofficial-479ab37a236feb22b4db57176cc7857d7c1f5262.zip
Add configurable EOH Energy Display (#3477)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/tectech/loader/ConfigHandler.java')
-rw-r--r--src/main/java/tectech/loader/ConfigHandler.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/main/java/tectech/loader/ConfigHandler.java b/src/main/java/tectech/loader/ConfigHandler.java
index e360b5f671..b47c8085a7 100644
--- a/src/main/java/tectech/loader/ConfigHandler.java
+++ b/src/main/java/tectech/loader/ConfigHandler.java
@@ -12,6 +12,8 @@ public class ConfigHandler {
public static Debug debug = new Debug();
public static TeslaTweaks teslaTweaks = new TeslaTweaks();
+ public static Visual visual = new Visual();
+
@Config.Comment("Debug section")
public static class Debug {
@@ -58,4 +60,22 @@ public class ConfigHandler {
@Config.DefaultBoolean(true)
public boolean TESLA_VISUAL_EFFECT;
}
+
+ @Config.Comment("Visual section")
+ public static class Visual {
+
+ @Config.Comment({ "Eye of Harmony energy input and output display:", " - 'Numerical': Shows the entire number",
+ " - 'Scientific': Uses scientific notation", " - 'SI': Uses the SI notation", })
+
+ @Config.DefaultEnum("Scientific")
+ @Config.RequiresMcRestart
+ public EOHNumberFormat EOH_NOTATION = EOHNumberFormat.Scientific;
+
+ public enum EOHNumberFormat {
+ Numerical,
+ Scientific,
+ SI
+ }
+ }
+
}