From e2bb2a71212504ac69595e924132eb4b91a49ea6 Mon Sep 17 00:00:00 2001 From: sillyangel Date: Sat, 14 Dec 2024 14:20:34 -0600 Subject: [PATCH] Rename mod from Tutorial Mod to Nugget Mod and update related configurations --- gradle.properties | 8 ++++---- src/main/java/xyz/sillyangel/nugget/Config.java | 2 +- src/main/java/xyz/sillyangel/nugget/NuggetMod.java | 6 +++--- src/main/java/xyz/sillyangel/nugget/block/ModBlocks.java | 3 +++ src/main/java/xyz/sillyangel/nugget/item/ModItems.java | 4 ++-- 5 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 src/main/java/xyz/sillyangel/nugget/block/ModBlocks.java diff --git a/gradle.properties b/gradle.properties index 3ed1ed8..86e1cfd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -42,9 +42,9 @@ mapping_version=2024.07.28-1.21 # The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63} # Must match the String constant located in the main mod class annotated with @Mod. -mod_id=tutorialmod +mod_id=nuggetmod # The human-readable display name for the mod. -mod_name=Tutorial Mod +mod_name=Nugget Mod # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=MIT # The mod version. See https://semver.org/ @@ -52,8 +52,8 @@ mod_version=1.0.0 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html -mod_group_id=xyz.sillyangel.tutorialmod +mod_group_id=xyz.sillyangel.nugget # The authors of the mod. This is a simple text string that is used for display purposes in the mod list. mod_authors=sillyangel # The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. -mod_description=A Tutorial Mod \ No newline at end of file +mod_description=gedagedigedagedago \ No newline at end of file diff --git a/src/main/java/xyz/sillyangel/nugget/Config.java b/src/main/java/xyz/sillyangel/nugget/Config.java index 90ead17..6b313d2 100644 --- a/src/main/java/xyz/sillyangel/nugget/Config.java +++ b/src/main/java/xyz/sillyangel/nugget/Config.java @@ -1,4 +1,4 @@ -package xyz.sillyangel.nuggetmod; +package xyz.sillyangel.nugget; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.Item; diff --git a/src/main/java/xyz/sillyangel/nugget/NuggetMod.java b/src/main/java/xyz/sillyangel/nugget/NuggetMod.java index 44ae8e2..0880380 100644 --- a/src/main/java/xyz/sillyangel/nugget/NuggetMod.java +++ b/src/main/java/xyz/sillyangel/nugget/NuggetMod.java @@ -1,4 +1,4 @@ -package xyz.sillyangel.nuggetmod; +package xyz.sillyangel.nugget; import com.mojang.logging.LogUtils; import net.minecraft.world.item.CreativeModeTabs; @@ -15,11 +15,11 @@ import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import org.slf4j.Logger; -import xyz.sillyangel.nuggetmod.item.ModItems; +import xyz.sillyangel.nugget.item.ModItems; // Very important Comment // The value here should match an entry in the META-INF/mods.toml file -@Mod(xyz.sillyangel.nuggetmod.NuggetMod.MOD_ID) +@Mod(NuggetMod.MOD_ID) public class NuggetMod { // Define mod id in a common place for everything to reference public static final String MOD_ID = "nuggetmod"; diff --git a/src/main/java/xyz/sillyangel/nugget/block/ModBlocks.java b/src/main/java/xyz/sillyangel/nugget/block/ModBlocks.java new file mode 100644 index 0000000..836f055 --- /dev/null +++ b/src/main/java/xyz/sillyangel/nugget/block/ModBlocks.java @@ -0,0 +1,3 @@ +public class ModBlocks { + +} diff --git a/src/main/java/xyz/sillyangel/nugget/item/ModItems.java b/src/main/java/xyz/sillyangel/nugget/item/ModItems.java index 26a4f7a..0fe761b 100644 --- a/src/main/java/xyz/sillyangel/nugget/item/ModItems.java +++ b/src/main/java/xyz/sillyangel/nugget/item/ModItems.java @@ -1,6 +1,6 @@ -package xyz.sillyangel.nuggetmod.item; +package xyz.sillyangel.nugget.item; -import xyz.sillyangel.nuggetmod.NuggetMod; +import xyz.sillyangel.nugget.NuggetMod; import net.minecraft.world.item.Item; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.registries.DeferredRegister;