From de15912066b505845c77a2140810dd71f7224ac7 Mon Sep 17 00:00:00 2001 From: Marcel Kempf Date: Fri, 21 May 2021 18:18:32 +0200 Subject: [PATCH] changed some basic stuff --- .../ExampleMod.java => saltymc/eaa/EaaMod.java} | 6 +++--- .../example => saltymc/eaa}/mixin/ExampleMixin.java | 2 +- src/main/resources/assets/{modid => eaa}/icon.png | Bin src/main/resources/fabric.mod.json | 11 ++++++----- src/main/resources/modid.mixins.json | 2 +- 5 files changed, 11 insertions(+), 10 deletions(-) rename src/main/java/net/{fabricmc/example/ExampleMod.java => saltymc/eaa/EaaMod.java} (67%) rename src/main/java/net/{fabricmc/example => saltymc/eaa}/mixin/ExampleMixin.java (93%) rename src/main/resources/assets/{modid => eaa}/icon.png (100%) diff --git a/src/main/java/net/fabricmc/example/ExampleMod.java b/src/main/java/net/saltymc/eaa/EaaMod.java similarity index 67% rename from src/main/java/net/fabricmc/example/ExampleMod.java rename to src/main/java/net/saltymc/eaa/EaaMod.java index e5ed082..832629c 100644 --- a/src/main/java/net/fabricmc/example/ExampleMod.java +++ b/src/main/java/net/saltymc/eaa/EaaMod.java @@ -1,14 +1,14 @@ -package net.fabricmc.example; +package net.saltymc.eaa; import net.fabricmc.api.ModInitializer; -public class ExampleMod implements ModInitializer { +public class EaaMod implements ModInitializer { @Override public void onInitialize() { // This code runs as soon as Minecraft is in a mod-load-ready state. // However, some things (like resources) may still be uninitialized. // Proceed with mild caution. - System.out.println("Hello Fabric world!"); + System.out.println("EAA Mod initializing..."); } } diff --git a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java b/src/main/java/net/saltymc/eaa/mixin/ExampleMixin.java similarity index 93% rename from src/main/java/net/fabricmc/example/mixin/ExampleMixin.java rename to src/main/java/net/saltymc/eaa/mixin/ExampleMixin.java index 83ee1a8..f71238b 100644 --- a/src/main/java/net/fabricmc/example/mixin/ExampleMixin.java +++ b/src/main/java/net/saltymc/eaa/mixin/ExampleMixin.java @@ -1,4 +1,4 @@ -package net.fabricmc.example.mixin; +package net.saltymc.eaa.mixin; import net.minecraft.client.gui.screen.TitleScreen; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/resources/assets/modid/icon.png b/src/main/resources/assets/eaa/icon.png similarity index 100% rename from src/main/resources/assets/modid/icon.png rename to src/main/resources/assets/eaa/icon.png diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index df92d8b..02c54f7 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,12 +1,13 @@ { "schemaVersion": 1, - "id": "modid", + "id": "eaa", "version": "${version}", - "name": "Example Mod", + "name": "EAA Mod", "description": "This is an example description! Tell everyone what your mod is about!", "authors": [ - "Me!" + "MPK1", + "Hiajen" ], "contact": { "homepage": "https://fabricmc.net/", @@ -14,12 +15,12 @@ }, "license": "CC0-1.0", - "icon": "assets/modid/icon.png", + "icon": "assets/eaa/icon.png", "environment": "*", "entrypoints": { "main": [ - "net.fabricmc.example.ExampleMod" + "net.saltymc.eaa.EaaMod" ] }, "mixins": [ diff --git a/src/main/resources/modid.mixins.json b/src/main/resources/modid.mixins.json index 21fe73a..4225886 100644 --- a/src/main/resources/modid.mixins.json +++ b/src/main/resources/modid.mixins.json @@ -1,7 +1,7 @@ { "required": true, "minVersion": "0.8", - "package": "net.fabricmc.example.mixin", + "package": "net.saltymc.eaa.mixin", "compatibilityLevel": "JAVA_8", "mixins": [ ],