diff options
author | くぁーりぃ <39122497+Quarri6343@users.noreply.github.com> | 2022-08-30 05:04:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 22:04:31 +0200 |
commit | 4927a8885381ca48479be71e7cdb37aae9cbf5fd (patch) | |
tree | 7664056ac3ec23574942e9a265e6ca37067b8963 /src/main/java/gregtech/api/util/GT_Utility.java | |
parent | ce1bd5b2138093a61e9b17989ffea7c126a00c12 (diff) | |
download | GT5-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.java | 4 |
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]. */ |