Posted July 10, 20214 yr Im a beginner programmer, using eclipse 2021-03, and when I started my minecraft forge mod, it came up with the error message: mods.toml missing metadata for modid nachocheesecarrotthangsmod Please help!
July 11, 20214 yr Author Quote modLoader="javafml" #mandatory # A version range to match for said mod loader - for regular FML @Mod it will be the forge version loaderVersion="[36,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. # The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties. # Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here. license="All rights reserved" # A URL to refer people to when problems occur with this mod #issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional # A list of mods - how many allowed here is determined by the individual mod loader [[mods]] #mandatory # The modid of the mod modId="nachocheesecarrotthangsmod" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it # ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata # see the associated build.gradle script for how to populate this completely automatically during a build version="0.1" #mandatory # A display name for the mod displayName="Carrots" #mandatory description=''' Adds more carrot items to the game ''' # A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional. [[dependencies.nachocheesecarrotthangsmod]] #optional # the modid of the dependency modId="forge" #mandatory # Does this dependency have to exist - if not, ordering below must be specified mandatory=true #mandatory # The version range of the dependency versionRange="[36,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER side="BOTH" # Here's another dependency [[dependencies.nachocheesecarrotthangsmod]] modId="minecraft" mandatory=true # This version range declares a minimum of the current minecraft version up to but not including the next major version versionRange="[1.16.5,1.17)" ordering="NONE" side="BOTH" Edited July 11, 20214 yr by nachocheese
July 11, 20214 yr Author ok, here's the other file: https://gist.github.com/nachocheese989/36feac4afe26a02590bc28a4502c9df7
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.