Whether to crash if this dependency is not met. All properties from that line until the next header will become the properties of that dependency configuration. These dependency configurations, like the mod properties, are defined by a new section starting with ], with modid being the mod id that has this dependency. ensuring your mod loads after another, or hard-crashing if a mod with a specified version does not exist. Mods can define dependencies for their mods, which are checked by Forge before loading mods. Must be either MATCH_VERSION, IGNORE_SERVER_VERSION, IGNORE_ALL_VERSION, or NONE. Can be any string.Ĭontrols the display of the mod in the server connection screen. Can be any string.Ī URL, displayed on the Mods listing screen. Can be any string.Īuthors for the mod, for use in the Mods listing screen. This should never be a blank string, as that will cause an error.Ī table of custom mod properties this is not used for Forge, but is mainly for use by mods.Ĭredits and acknowledgements for the mod, for use in the Mods listing screen. The update JSON URL, used by the update checker. Whether to do some blurring on the mod's logo in the Mods listing screen. the file is directly in src/main/resources) The image must be in the root of the jar file, not in any subfolder thereof (e.g. The path of the logo file image, for use in the Mods listing screen. It's recommended to use a multiline string (surrounded by ''') The description of the mod, for use in the Mods listing screen. The display name of the mod, for use in the Mods listing screen If the version is specified as $, which is replaced at runtime with the Implementation-Version found in the jar's manifest file. ![]() This is a traditional mod that has existed for eons. UpdateJSONURL="/versions.json"Ĭredits="I'd like to thank my mother and father." IssueTrackerURL="/MinecraftForge/MinecraftForge/issues" ![]() It should be stored under the META-INF folder in your resources directory ( src/main/resources/META-INF/mods.toml). The example mods.toml file in the MDK provides comments explaining the contents of the file. The file is formatted in Tom's Obvious Minimal Language, or TOML for short. The mods.toml file is read by the mod loader to determine what mods are packaged into your JAR file, and what information to display to the user in the Mods listing screen (accessible by pressing the "Mods" button on the main menu of the game).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |