aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
diff options
context:
space:
mode:
authorRecursivePineapple <recursive_pineapple@proton.me>2024-08-08 09:16:57 -0400
committerGitHub <noreply@github.com>2024-08-08 20:16:57 +0700
commit89156d0d8485753e0cea91637fced1b66897a6df (patch)
treec5f8fb72aa0e30822cad8f015fd8a25021915466 /src/main/java/gregtech/api/util
parent3c228c3bab6b2fd731063e59b029f98882fc25e6 (diff)
downloadGT5-Unofficial-89156d0d8485753e0cea91637fced1b66897a6df.tar.gz
GT5-Unofficial-89156d0d8485753e0cea91637fced1b66897a6df.tar.bz2
GT5-Unofficial-89156d0d8485753e0cea91637fced1b66897a6df.zip
Added the miniature wormhole generator (#2800)
* Added the miniature wormhole generator * Updated structure & tooltip and added hatch hask * Fixed controller promotion not working * Initial work wormhole render + spotless + git strangeness * Fix wildcard imports * Removed redundant code + added more reasonable defaults * fix * sa * Remove debug print statements --------- Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: CookieBrigade <138534411+cookiebrigade@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/util')
-rw-r--r--src/main/java/gregtech/api/util/GT_Utility.java16
1 files changed, 16 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 c0f7413995..581c22852e 100644
--- a/src/main/java/gregtech/api/util/GT_Utility.java
+++ b/src/main/java/gregtech/api/util/GT_Utility.java
@@ -3489,6 +3489,7 @@ public class GT_Utility {
EnumChatFormatting.GOLD + GT_Utility.trans("166", "Is valid Beacon Pyramid Material")
+ EnumChatFormatting.RESET);
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this block's info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
}
@@ -3517,6 +3518,7 @@ public class GT_Utility {
}
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this tile's fluid tank info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3532,6 +3534,7 @@ public class GT_Utility {
if (temp != null) tList.addAll(temp);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this block's debug info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3585,6 +3588,7 @@ public class GT_Utility {
}
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this leaves' info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3636,6 +3640,7 @@ public class GT_Utility {
}
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this crop's info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3647,6 +3652,7 @@ public class GT_Utility {
tList.addAll(Arrays.asList(info.getInfoData()));
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
}
@@ -3660,6 +3666,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's owner.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
}
@@ -3702,6 +3709,7 @@ public class GT_Utility {
+ " EU");
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's energy info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
}
@@ -3716,6 +3724,7 @@ public class GT_Utility {
if (tString != null && !tString.equals(E)) tList.add(tString);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's covers.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3747,6 +3756,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's progress.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3762,6 +3772,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's upgrades.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3783,6 +3794,7 @@ public class GT_Utility {
+ " EU");
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's IC2 energy info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3799,6 +3811,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's EU conduction info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3826,6 +3839,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's IC@ wrenchability.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3845,6 +3859,7 @@ public class GT_Utility {
}
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this device's alignment info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;
@@ -3869,6 +3884,7 @@ public class GT_Utility {
+ EnumChatFormatting.RESET);
}
} catch (Throwable e) {
+ tList.add(String.format("§cAn exception was thrown while fetching this reactor's info.§r"));
if (D1) e.printStackTrace(GT_Log.err);
}
return rEUAmount;