From 8b7c2c7a3c2f8233031dc6771ab4091ee38ea771 Mon Sep 17 00:00:00 2001 From: tempoletion Date: Sun, 6 Oct 2024 11:01:30 +0700 Subject: [PATCH] change mod name --- src/main/java/com/regioncraft/ExampleMod.java | 20 ------------------- .../regionCraft}/ClientProxy.java | 2 +- .../regionCraft}/CommonProxy.java | 2 +- .../mymodid => tem/regionCraft}/Config.java | 2 +- .../regionCraft/RegionCraft.java} | 2 +- 5 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 src/main/java/com/regioncraft/ExampleMod.java rename src/main/java/com/{myname/mymodid => tem/regionCraft}/ClientProxy.java (88%) rename src/main/java/com/{myname/mymodid => tem/regionCraft}/CommonProxy.java (97%) rename src/main/java/com/{myname/mymodid => tem/regionCraft}/Config.java (94%) rename src/main/java/com/{myname/mymodid/MyMod.java => tem/regionCraft/RegionCraft.java} (98%) diff --git a/src/main/java/com/regioncraft/ExampleMod.java b/src/main/java/com/regioncraft/ExampleMod.java deleted file mode 100644 index 4245c7e..0000000 --- a/src/main/java/com/regioncraft/ExampleMod.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.example.examplemod; - -import net.minecraft.init.Blocks; -import cpw.mods.fml.common.Mod; -import cpw.mods.fml.common.Mod.EventHandler; -import cpw.mods.fml.common.event.FMLInitializationEvent; - -@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION) -public class ExampleMod -{ - public static final String MODID = "examplemod"; - public static final String VERSION = "1.0"; - - @EventHandler - public void init(FMLInitializationEvent event) - { - // some example code - System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName()); - } -} diff --git a/src/main/java/com/myname/mymodid/ClientProxy.java b/src/main/java/com/tem/regionCraft/ClientProxy.java similarity index 88% rename from src/main/java/com/myname/mymodid/ClientProxy.java rename to src/main/java/com/tem/regionCraft/ClientProxy.java index ea70aa1..a6f70ee 100644 --- a/src/main/java/com/myname/mymodid/ClientProxy.java +++ b/src/main/java/com/tem/regionCraft/ClientProxy.java @@ -1,4 +1,4 @@ -package com.myname.mymodid; +package com.tem.regionCraft; public class ClientProxy extends CommonProxy { diff --git a/src/main/java/com/myname/mymodid/CommonProxy.java b/src/main/java/com/tem/regionCraft/CommonProxy.java similarity index 97% rename from src/main/java/com/myname/mymodid/CommonProxy.java rename to src/main/java/com/tem/regionCraft/CommonProxy.java index dfdfe53..7ccf774 100644 --- a/src/main/java/com/myname/mymodid/CommonProxy.java +++ b/src/main/java/com/tem/regionCraft/CommonProxy.java @@ -1,4 +1,4 @@ -package com.myname.mymodid; +package com.tem.regionCraft; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; diff --git a/src/main/java/com/myname/mymodid/Config.java b/src/main/java/com/tem/regionCraft/Config.java similarity index 94% rename from src/main/java/com/myname/mymodid/Config.java rename to src/main/java/com/tem/regionCraft/Config.java index b1c4f50..3f059b6 100644 --- a/src/main/java/com/myname/mymodid/Config.java +++ b/src/main/java/com/tem/regionCraft/Config.java @@ -1,4 +1,4 @@ -package com.myname.mymodid; +package com.tem.regionCraft; import java.io.File; diff --git a/src/main/java/com/myname/mymodid/MyMod.java b/src/main/java/com/tem/regionCraft/RegionCraft.java similarity index 98% rename from src/main/java/com/myname/mymodid/MyMod.java rename to src/main/java/com/tem/regionCraft/RegionCraft.java index b6f6735..534ccdc 100644 --- a/src/main/java/com/myname/mymodid/MyMod.java +++ b/src/main/java/com/tem/regionCraft/RegionCraft.java @@ -1,4 +1,4 @@ -package com.myname.mymodid; +package com.tem.regionCraft; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;