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
# Mod Properties
mod_version=1.0.1
mod_version=1.0.2
maven_group=dev.astatin3.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);
for (int y = 0; y < 64; y++) {
String text = "";
for (int x = 0; x < 64; x++) {
text += mapState.colors[y * 128 + x] + ", ";
}
String finalText = text;
context.getSource().sendFeedback(() -> Text.literal(finalText), false);
}
// for (int y = 0; y < 64; y++) {
// String text = "";
// for (int x = 0; x < 64; x++) {
// text += mapState.colors[y * 128 + x] + ", ";
// }
// String finalText = text;
// context.getSource().sendFeedback(() -> Text.literal(finalText), false);
// }
BufferedImage bufImg = convertImage(mapState.colors);
byte[] favicon = toBytes(bufImg);