Remove debug, update orang

This commit is contained in:
Michael Mikovsky
2025-09-13 18:13:58 -06:00
parent 7b3601c746
commit 6bce1e1793
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ loader_version=0.16.14
loom_version=1.11-SNAPSHOT loom_version=1.11-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=1.0.1 mod_version=1.0.2
maven_group=dev.astatin3.favicon maven_group=dev.astatin3.favicon
archives_base_name=favicon archives_base_name=favicon
BIN
View File
Binary file not shown.
@@ -84,14 +84,14 @@ public class ExampleMod implements ModInitializer {
context.getSource().sendFeedback(() -> Text.literal("Encoding icon data..."), false); context.getSource().sendFeedback(() -> Text.literal("Encoding icon data..."), false);
for (int y = 0; y < 64; y++) { // for (int y = 0; y < 64; y++) {
String text = ""; // String text = "";
for (int x = 0; x < 64; x++) { // for (int x = 0; x < 64; x++) {
text += mapState.colors[y * 128 + x] + ", "; // text += mapState.colors[y * 128 + x] + ", ";
} // }
String finalText = text; // String finalText = text;
context.getSource().sendFeedback(() -> Text.literal(finalText), false); // context.getSource().sendFeedback(() -> Text.literal(finalText), false);
} // }
BufferedImage bufImg = convertImage(mapState.colors); BufferedImage bufImg = convertImage(mapState.colors);
byte[] favicon = toBytes(bufImg); byte[] favicon = toBytes(bufImg);