aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/GT_Waila.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/util/GT_Waila.java')
-rw-r--r--src/main/java/gregtech/api/util/GT_Waila.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/main/java/gregtech/api/util/GT_Waila.java b/src/main/java/gregtech/api/util/GT_Waila.java
deleted file mode 100644
index aaa68ba4c7..0000000000
--- a/src/main/java/gregtech/api/util/GT_Waila.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package gregtech.api.util;
-
-public abstract class GT_Waila {
-
- public static String getMachineProgressString(boolean isActive, int maxProgresstime, int progresstime) {
- return getMachineProgressString(isActive, (long) maxProgresstime, (long) progresstime);
- }
-
- public static String getMachineProgressString(boolean isActive, long maxProgresstime, long progresstime) {
-
- if (!isActive) return "Idle";
-
- StringBuilder ret = new StringBuilder("In progress: ")
- .append(String.format("%,.2f", (double) progresstime / 20))
- .append("s / ")
- .append(String.format("%,.2f", (double) maxProgresstime / 20))
- .append("s (")
- .append(GT_Utility.formatNumbers((Math.round((double) progresstime / maxProgresstime * 1000) / 10.0)))
- .append("%)");
-
- return ret.toString();
- }
-}