Jump to content

Recommended Posts

Posted

Hello! I am writing a mod downloader for minecraft (something like chikenbones' deploader).

It can already download mods and their dependencies, but i cannot tell forge to load them.

 

Are there any ways to do that either as a mod or as a coremod?

 

It seems that all required apis became private since last rewrite (or, maybe, even before).

Although if there is still a way to do that (even if it uses reflections, which is very probable as it's needed to load jars), please tell me.

Posted (edited)

Sorry, but i did not ask if i should do that. I asked how to do that as these cases you said is exactly what i want to avoid. Mod downloading will be fully controlled by users through a manifest file (like forges mod list, but more advanced and supports multiple repos), and, in future, through a GUI.

 

Also dont mod developers essentially download random stuff from inet and then pack it into jars which are then executed by players?

Edited by handicraftsman
Posted

"I didn't ask if I should, I asked how I could" isn't usually a wise response when told "No".

You will not receive help with this.

  • Sad 1

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
  On 3/2/2019 at 8:19 AM, handicraftsman said:

Also dont mod developers essentially download random stuff from inet and then pack it into jars which are then executed by players?

Expand  

No, players download mods from the internet and then play them. What mod developers are “downloading random stuff and putting it into jars”?

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 3/3/2019 at 1:10 PM, Cadiboo said:

No, players download mods from the internet and then play them. What mod developers are “downloading random stuff and putting it into jars”?

Expand  

While modding you might need to add stuff like http server (like wizards of lua does) or something else. Since you cannot just download the library automatically in the way its provided to the user (like most java/c# apps do on build stage), you must embed it into jar by using gradle shadow (although it does not work well with forge) or doing similar stuff

Posted
  On 3/4/2019 at 7:08 AM, handicraftsman said:

you must embed it into jar by using gradle shadow (although it does not work well with forge) or doing similar stuff

Expand  

Forge has its own jar-in-jar system.

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 3/4/2019 at 7:08 AM, handicraftsman said:

While modding you might need to add stuff like http server (like wizards of lua does) or something else.

Expand  

There are nefarious modders, yes. They are not allowed here but they do exist and it is on the user to not download the mods that pack in Malware,

this is why it is critical to let the user have control of what is and isn't downloaded.

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.