diff --git a/gradle.properties b/gradle.properties index c78261f..65e31ee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/orang.zip b/orang.zip index 2532d51..e624e1c 100644 Binary files a/orang.zip and b/orang.zip differ diff --git a/src/main/java/dev/astatin3/favicon/ExampleMod.java b/src/main/java/dev/astatin3/favicon/ExampleMod.java index 2d37a94..c6b554b 100644 --- a/src/main/java/dev/astatin3/favicon/ExampleMod.java +++ b/src/main/java/dev/astatin3/favicon/ExampleMod.java @@ -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);