Jump to content

Recommended Posts

Posted

I have built a mod file in my IntelliJ project as instructed on the forge document website, but I'm confused as to where to put my mod .jar and its source.jar file or have it "distributed". Also if there are any videos or guides besides the forge website to learning comprehensive setup and basic Minecraft modding that would be much appreciated.

  1. To build your mod, run gradlew build. This will output a file in build/libs with the name [archivesBaseName]-[version].jar. This file can be placed in the mods folder of a forge enabled Minecraft setup, and distributed.
Posted

What about this is confusing you, the existence of a sources jar?

The jar without the sources qualifier is the one that people will need to put in their mods folder to install your mod.

As for distribution, most mods these days are distributed through CurseForge, though some developers are committed to only distributing their mod through their own website.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

For clarification I have just executed "gradlew build" successfully and viewed the mod.jar and source.jar in build/libs. I am confused because I do not understand where I am moving these two files in order to display the mod in my forge enabled Minecraft setup. Am I moving these mod.jar and source.jar files somewhere within the gradle build files on IntelliJ? And if so I cannot find the place to put it where I can see it in forge enabled Minecraft. Or if I am moving these files in my PC's actual documents, then I cannot find the place to put the mod.jar and source.jar there to the same effect.

I have never dealt with using/creating mods of any sort beforehand so this process is a new experience for me.

Posted

So you are saying you've made a Minecraft mod without knowing how to install it on your client?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

I have not actually created any mod, rather I am under the impression by forge's instructions that I have created a space for the mod I want to begin making and its respective source (the mod.jar and source.jar) file in build/libs. Besides that, no, I have done nothing past forge's instructions up to that point.

Posted

I'm a bit confused about how you think this works.

It sounds like you're under the impression that build/libs is a place where you put things in. Is this correct?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

build/libs is where your mod comes out, not where you put things in.

What programming languages do you know?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

Mods are installed by putting them in .minecraft/mods or wherever you have set your game directory to be in the launcher.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

The one that is not the sources jar is the mod, the sources jar would be used by someone wanting to make an addon for your mod

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

I'm not sure I follow, please describe what you are attempting to do in detail.

Are you trying to make a mod by putting files inside a jar?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

I am trying to create a workspace for my mod to begin importing Minecraft assets and introduce my own code into it to make a mod. Then be able to see it in my forge setup of Minecraft to test my code and use it. The screenshot of IntelliJ where I highlighted is the place where the **gradlew build** task output the two .jar files which is what forge said was necessary to build my mod, 

"To build your mod, run gradlew build. This will output a file in build/libs with the name [archivesBaseName]-[version].jar. This file can be placed in the mods folder of a forge enabled Minecraft setup, and distributed."

I have never fussed with modding before so I have little to no understanding for its fundamentals.

 

 

Screenshot (2).png

Posted

What do you see under "External Libraries" and what do you see in the Gradle Panel?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.