From 4927a8885381ca48479be71e7cdb37aae9cbf5fd Mon Sep 17 00:00:00 2001 From: くぁーりぃ <39122497+Quarri6343@users.noreply.github.com> Date: Tue, 30 Aug 2022 05:04:31 +0900 Subject: 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 --- src/main/java/gregtech/api/util/GT_Utility.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/gregtech/api/util') 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]. */ -- cgit