aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
diff options
context:
space:
mode:
authorWalker Selby <git@walkerselby.com>2022-10-21 13:25:11 -0700
committerGitHub <noreply@github.com>2022-10-21 15:25:11 -0500
commite4d4a7c4179d2359dcdadcc49b38470c9db873e3 (patch)
tree6d5756eb215fd55cd685b79d3db8d5d15225a7f8 /src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
parent2f57d3891a25630a41323c029bbe0b0a87d2fd33 (diff)
downloadnotenoughupdates-e4d4a7c4179d2359dcdadcc49b38470c9db873e3.tar.gz
notenoughupdates-e4d4a7c4179d2359dcdadcc49b38470c9db873e3.tar.bz2
notenoughupdates-e4d4a7c4179d2359dcdadcc49b38470c9db873e3.zip
Code Cleanup (#333)
* Remove NeuConfigTutorial.java * Remove NeuTutorial.java * Remove TutorialBase.java * Remove NEU Tutorial Command Initialization from Commands.java * Remove commented-out filter defaults Remove commented-out and replaced rarities String array Remove commented out code for old rendering Invert if statement due to empty if body and used else body * Remove commented-out render Remove commented out divine mentions Remove duplicate additions of Divine rarity * Remove ButtonsCommand.java - Unused, empty, and uninitialized * Remove excessive commented out code of old /neurename * Remove usused initialization Removed old debug console prints * Remove commented out removed options * Remove commented and unused String List Remove commented and unused size settings * Remove unused commented out code * Remove unused commented out code * Remove unused commented code
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
index 1ee24ec8..b02565cd 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java
@@ -117,7 +117,6 @@ public class Utils {
"VERY SPECIAL",
"SUPREME",
"^^ THAT ONE IS DIVINE ^^"
-//, "DIVINE"
};
public static String[] rarityArrC = new String[]{
EnumChatFormatting.WHITE + EnumChatFormatting.BOLD.toString() + "COMMON",
@@ -129,8 +128,6 @@ public class Utils {
EnumChatFormatting.RED + EnumChatFormatting.BOLD.toString() + "SPECIAL",
EnumChatFormatting.RED + EnumChatFormatting.BOLD.toString() + "VERY SPECIAL",
EnumChatFormatting.AQUA + EnumChatFormatting.BOLD.toString() + "DIVINE",
- EnumChatFormatting.AQUA + EnumChatFormatting.BOLD.toString() + "DIVINE",
- //EnumChatFormatting.AQUA+EnumChatFormatting.BOLD.toString()+"DIVINE",
};
public static final HashMap<String, String> rarityArrMap = new HashMap<String, String>() {{
put("COMMON", rarityArrC[0]);
@@ -142,7 +139,6 @@ public class Utils {
put("SPECIAL", rarityArrC[6]);
put("VERY SPECIAL", rarityArrC[7]);
put("DIVINE", rarityArrC[8]);
- // put("DIVINE", rarityArrC[9]);
}};
public static Splitter PATH_SPLITTER = Splitter.on(".").omitEmptyStrings().limit(2);
private static ScaledResolution lastScale = new ScaledResolution(Minecraft.getMinecraft());
@@ -1228,7 +1224,6 @@ public class Utils {
while ((lines++ < maxLines) || maxLines < 0) {
if (trimmed.length() == str.length()) {
drawStringScaled(trimmed, fr, x, y + yOff, shadow, colour, scale);
- //fr.drawString(trimmed, x, y + yOff, colour, shadow);
break;
} else if (trimmed.isEmpty()) {
yOff -= 12 * scale;