9 Commits

Author SHA1 Message Date
Michael Mikovsky 375557196b Update orang.zip 2025-10-20 08:27:36 -06:00
Michael Mikovsky 929782fa18 Update orang.zip 2025-10-20 08:21:59 -06:00
Michael Mikovsky d0c44a8b04 Update orang.zip 2025-10-20 08:00:26 -06:00
Michael Mikovsky 6defcfcee1 orang v5 2025-10-16 18:32:38 -06:00
Michael Mikovsky 38703b2470 orang v3 2025-10-16 14:21:54 -06:00
Michael Mikovsky 0daecaa748 Orang v2 2025-09-13 19:02:35 -06:00
Michael Mikovsky 6bce1e1793 Remove debug, update orang 2025-09-13 18:13:58 -06:00
Michael Mikovsky 7b3601c746 Add files via upload 2025-09-13 16:55:11 -06:00
Michael Mikovsky a915daadc0 I want this to be on the server 2025-09-13 16:54:59 -06:00
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);