![minecraft forge mods 1.12 minecraft forge mods 1.12](https://pcminecraft-mods.com/wp-content/uploads/2018/10/screenshot_2017_02_15_01_1-740x420.png)
![minecraft forge mods 1.12 minecraft forge mods 1.12](https://pcminecraft-mods.com/wp-content/uploads/2018/07/2016_08_19_00-740x420.png)
meta I putĪttributes("Implementation-Title": "Gradle", If you have specific questions, please ask. You also need the ContainedDeps manifest attribute (in your own manifest), that specifies which jar files (inside your own jar) are contained dependencies.Īll this is described in the documentation. This is not what the question is your dependency is just a regular dependency, without following the Forge format for that (it does not have the Maven-Artifact manifest entry), then you can add this manually, by putting the manifest for the dependency in your own manifest (described in the last paragraph of the documentation). NOTE: Make sure to use deobfuscated jar files.
Minecraft forge mods 1.12 mod#
The mod will be ran with the client too, adding it again to the mods folder will just cause a duplicate mods error. jar files in folderĬompile files ( 'libs/file_name.jar' ) // For one. If you're using Eclipse you have to add something to your gradle.build file for it to workĬompile fileTree ( dir : 'libs', include : ) // For all. jar files to the libs folder and it will work, you will probably have to refresh gradle by using that button in gradle module, META-INF file is used for ATs, doesn't have to do anything with Maven. This was originally here but I was told to put it into a new post I tried to put all of my questions into one post as much as possible but I'm bound to have m ore.
Minecraft forge mods 1.12 how to#
thing is called?)? I'm not sure where I go from here.Īlso, if when I successfully do this dependency extraction thing, it adds the mod to minecraft but not the mods folder, correct? How to I use the mod its dependent on while making my mod? I saw that you make a folder called libs and put it in there and do some build path thing to access its code, but will that add it to the client when i run it in eclipse or do I have to add it to the run/mods folder? What does that mean? I have the jar file that I want to use as a dependency and i looked in its META-INF folder and looked at its MANIFEST.MF file and all it said was " Manifest-Version: 1.0" Does that mean that it was a poorly made mod and what do I do about it? Do i give it a custom maven coordinate (Is that what the groupId. It gets the groupId:artifactId:version thing so it can be archived. meta file is just a manifest file, and forge will use the. My adle doesn't have a "jar" section, so do I add it my self? Where is /META-INF? I don't understand what this maven stuff is and a have a very vague understanding of what a repository is from submitting bug reports on git. Not really sure how any of this dependency stuff works but I kind of have an idea.