diff --git a/README.md b/README.md index de65489..2d6f353 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ # TODO: +- [ ] Modrith > CurseForge dependencies import +- [ ] Test JDBC drivers funcitonality + ## Sources - https://youtube.com/playlist?list=PLKGarocXCE1GspJBXQEGuhazihZCSSLmK&si=dQ1K8-c62IYXfUfl diff --git a/gradle.properties b/gradle.properties index 8035d62..6d247f9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -42,9 +42,9 @@ mapping_version=2024.11.17-1.21.1 # 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=examplemod +mod_id=minesync # The human-readable display name for the mod. -mod_name=Example Mod +mod_name=MineSync # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ @@ -52,9 +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=com.example.examplemod +mod_group_id=net.ggodot.minesync # The authors of the mod. This is a simple text string that is used for display purposes in the mod list. -mod_authors=YourNameHere, OtherNameHere +mod_authors=ggodot # The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. -mod_description=Example mod description.\nNewline characters can be used and will be replaced properly. - +mod_description=To sync player data to database, for minecraft networks. diff --git a/run/eula.txt b/run/eula.txt index 1a3b3a7..5142a51 100644 --- a/run/eula.txt +++ b/run/eula.txt @@ -1,3 +1,3 @@ #By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA). #Sun Sep 28 00:30:46 CEST 2025 -eula=false +eula=true diff --git a/src/main/java/com/example/examplemod/Config.java b/src/main/java/net/ggodot/minesync/Config.java similarity index 95% rename from src/main/java/com/example/examplemod/Config.java rename to src/main/java/net/ggodot/minesync/Config.java index fe16c17..3daefcb 100644 --- a/src/main/java/com/example/examplemod/Config.java +++ b/src/main/java/net/ggodot/minesync/Config.java @@ -1,4 +1,4 @@ -package com.example.examplemod; +package net.ggodot.minesync; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.item.Item; @@ -15,7 +15,7 @@ import java.util.stream.Collectors; // An example config class. This is not required, but it's a good idea to have one to keep your config organized. // Demonstrates how to use Forge's config APIs -@Mod.EventBusSubscriber(modid = ExampleMod.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) +@Mod.EventBusSubscriber(modid = MineSync.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class Config { private static final ForgeConfigSpec.Builder BUILDER = new ForgeConfigSpec.Builder(); diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/net/ggodot/minesync/MineSync.java similarity index 97% rename from src/main/java/com/example/examplemod/ExampleMod.java rename to src/main/java/net/ggodot/minesync/MineSync.java index 6e8f900..d22ba71 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/net/ggodot/minesync/MineSync.java @@ -1,4 +1,4 @@ -package com.example.examplemod; +package net.ggodot.minesync; import com.mojang.logging.LogUtils; import net.minecraft.client.Minecraft; @@ -29,11 +29,11 @@ import net.minecraftforge.registries.RegistryObject; import org.slf4j.Logger; // The value here should match an entry in the META-INF/mods.toml file -@Mod(ExampleMod.MODID) -public class ExampleMod +@Mod(MineSync.MODID) +public class MineSync { // Define mod id in a common place for everything to reference - public static final String MODID = "examplemod"; + public static final String MODID = "minesync"; // Directly reference a slf4j logger private static final Logger LOGGER = LogUtils.getLogger(); // Create a Deferred Register to hold Blocks which will all be registered under the "examplemod" namespace @@ -60,7 +60,7 @@ public class ExampleMod output.accept(EXAMPLE_ITEM.get()); // Add the example item to the tab. For your own tabs, this method is preferred over the event }).build()); - public ExampleMod(FMLJavaModLoadingContext context) + public MineSync(FMLJavaModLoadingContext context) { IEventBus modEventBus = context.getModEventBus();