Organizing our project – Minecraft Forge 1.16.4 Modding Tutorial



Minecraft Viki (video wiki) ➜ https://minecraft.viki.gg

Hello everyone. In this video I do final setups for the project such as cleaning the main class, setting up the mods.toml and creating our packages.

My Discord Server: https://discord.gg/d5cGhKQ
Base mods.toml: https://pastebin.com/yRVvQK6H
My GitHub: https://github.com/DaRealTurtyWurty/1.16-Tutorial-Mod

source

29 thoughts on “Organizing our project – Minecraft Forge 1.16.4 Modding Tutorial”

  1. Exception in thread "main" joptsimple.MissingRequiredOptionsException: Missing required option(s) [accessToken, version]

    at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:426)

    at joptsimple.OptionParser.parse(OptionParser.java:400)

    at net.minecraft.client.main.Main.main(Main.java:77)

    I have this error, i don't know why, pls help !

    Reply
  2. Btw, if anyone wants to know, you can set a shortcut for new java package or class by going to Window -> Preferences -> Keys (put in top left search bar) -> type in " new package" or " new class", then go down to where it says "binding" and press the key you want (i set it to f8 and f9, no conflicts). Just have what u want selected in package explorer and the dialog comes up 🙂

    Reply
  3. HELP i get this in the console when i try run
    Verifies the given class.

    Usage: CheckClassAdapter <fully qualified class name or class file name>
    and i get no errors, minecraft doesnt launch either when i press run

    Reply
  4. 24:07 When I press the "Run" button, it says "Launch configuration runClient references non-existing project forge-1.16.5-36.1.0-mdk." Any ideas for how to fix this?

    Reply
  5. I just treat my in game name as a top-level domain, because I know there is no way "jaredbgreat" (e.g., "jaredbgreat.dldungeons") will ever be a real TLD, and Java doesn't know its not from a real URL.

    Reply
  6. I'm getting errors everywhere
    can anyone help

    Description Resource Path Location Type

    FMLCommonSetupEvent cannot be resolved to a type SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 24 Java Problem

    FMLJavaModLoadingContext cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 19 Java Problem

    Logger cannot be resolved to a type SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 16 Java Problem

    LogManager cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 16 Java Problem

    MinecraftForge cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 21 Java Problem

    Mod cannot be resolved to a type SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 12 Java Problem

    The import net cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 3 Java Problem

    The import net cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 4 Java Problem

    The import net cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 5 Java Problem

    The import net cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 6 Java Problem

    The import org.apache cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 7 Java Problem

    The import org.apache cannot be resolved SteelMod.java /Minecraft Modding/src/main/java/com/lunyl/steelmod line 8 Java Problem

    Reply
  7. If when trying to run your mod you get a console error saying "Environment variable 'assetDirectory' must be set to a valid path.", open run configurations, select RunClient and go to the Environments tab, then change the assets directory location to the asset folder in your Minecraft folder. For some reason upon download it's automatically set to a folder in forge_gradle that doesn't exist.

    Reply
  8. I'm getting – Error loading mods 1 error has occurred during loading _
    The Mod File C:UsersUsernameDesktopForgebinmain has mods that were not found

    The only mod that this should have is the ones forge includes and the one I am creating. Any quick help? I followed this and the prior video to a T so hopefully it's just a silly copy paste problem.

    Edit I figured it out… I accidentally deleted my main class when I messed up the package setup by forgetting a period before a sub package name. I ended up redoing the entire thing in the end and making backups along the way lol!

    Reply
  9. I keep get this error Exception in thread "main" [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: com.electronwill.nightconfig.core.io.ParsingException: Invalid character ''' after a table declaration.

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TableParser.parseTableName(TableParser.java:131)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:51)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at com.electronwill.nightconfig.core.file.WriteAsyncFileConfig.load(WriteAsyncFileConfig.java:138)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.modsTomlParser(ModFileParser.java:59)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFileParser.readModList(ModFileParser.java:46)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModFile.identifyMods(ModFile.java:113)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:121)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:216)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.runScan(FMLServiceProvider.java:107)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:114)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:115)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:269)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1628)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:116)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:63)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

    [19:58:05] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:108)

    Reply

Leave a Comment