aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util/GT_Utility.java
diff options
context:
space:
mode:
authorくぁーりぃ <39122497+Quarri6343@users.noreply.github.com>2022-08-30 05:04:31 +0900
committerGitHub <noreply@github.com>2022-08-29 22:04:31 +0200
commit4927a8885381ca48479be71e7cdb37aae9cbf5fd (patch)
tree7664056ac3ec23574942e9a265e6ca37067b8963 /src/main/java/gregtech/api/util/GT_Utility.java
parentce1bd5b2138093a61e9b17989ffea7c126a00c12 (diff)
downloadGT5-Unofficial-4927a8885381ca48479be71e7cdb37aae9cbf5fd.tar.gz
GT5-Unofficial-4927a8885381ca48479be71e7cdb37aae9cbf5fd.tar.bz2
GT5-Unofficial-4927a8885381ca48479be71e7cdb37aae9cbf5fd.zip
Digitalize Super Tank (#1318)
* add new GUI * make gui interactable * make later three buttons actually function * add auto output feature * do localization * apply spotless * spotless pt.2
Diffstat (limited to 'src/main/java/gregtech/api/util/GT_Utility.java')
-rw-r--r--src/main/java/gregtech/api/util/GT_Utility.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/util/GT_Utility.java b/src/main/java/gregtech/api/util/GT_Utility.java
index dc192a7d57..50106795eb 100644
--- a/src/main/java/gregtech/api/util/GT_Utility.java
+++ b/src/main/java/gregtech/api/util/GT_Utility.java
@@ -3469,6 +3469,10 @@ public class GT_Utility {
return GT_LanguageManager.addStringLocalization("Interaction_DESCRIPTION_Index_" + aKey, aEnglish, false);
}
+ public static String getTrans(String aKey) {
+ return GT_LanguageManager.getTranslation("Interaction_DESCRIPTION_Index_" + aKey);
+ }
+
/**
* @return an Array containing the X and the Y Coordinate of the clicked Point, with the top left Corner as Origin, like on the Texture Sheet. return values should always be between [0.0F and 0.99F].
*/