Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

My goal is for the .json to find the Forge .jar under a custom name. Is it as simple as renaming a few files/folders?

 

I would try myself, but I seem to get all my ideas at work where I can't try them.

What? Why?

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Guessing I can't just ask you to humor me.

 

It's for my automation thing. I know it's been a hella long time since I mentioned it. Got put on the back burner due to updates coming slowly at the time of testing it.

I got everything working except for automating LiteLoader. I'm asking here because I was wondering if something simple like renaming some Forge files would allow LiteLoader to be just once a Minecraft version with the Forge being a set name while being overwritten with the latest stuffs for that MC version.

I promise to withhold the scripts if you request me to, but I'll understand if you choose not to help.

If anything, at least posting this would help me remember to get to it.

IIRC with Forge installed, LiteLoader is just a Mods folder mod... so... just stick it in the mods folder...

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

IIRC with Forge installed, LiteLoader is just a Mods folder mod... so... just stick it in the mods folder...

Okay. Will try it when I get home.

  • 2 weeks later...
  • Author

Soo... I decided to go the alternative route of having a preexisting LiteLoader version .json with minor edits for easy replacement to target the latest Forge installed earlier in the chain, and I stumbled upon custom version names as a pleasant side effect. Still on topic, so posting here in case anyone is interested.

Okay, Custom version names takes a hella lotta work by hand, but I think it looks nice (probably just me) and, for automation, it actually serves a very important purpose of a static file path (still a hella lotta first time prep though.)

 

.minecraft\versions\CUSTOM NAME\CUSTOM NAME.json

"id": "CUSTOM NAME",

 

Note to Self: Need to check if "inheritsFrom" targets within the versions folder. That was actually what I meant to ask.

Didn't know what's what at the time.

In my experience, yes, in fact, if you install liteloader and have it extend Forge then it does precisely that, which i personally change to a shorter name for usability

 

FYI this has been possible since the current launcher iteration, ie pre1.8

  • Author

I already known about LiteLoader extending Forge from the installer window. That's what I did to get the preexisting LiteLoader .json.

What I needed was a simple way to tell LiteLoader to target a new Forge from Powershell. Right now, I have it set to place the variables I used for the Forge into the "inheritsFrom" of the template LiteLoader .json like it would be normally, and overwrite the one in the versions folder.

I know the version selector in the launcher works with a custom "id," so I need to check if "inheritsFrom" also works with a custom "id."

Again why are you making you life harder? Just install forge and put liteloader in the mods folder. Not the other way around

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Just install forge and put liteloader in the mods folder.

 

Ohh... Seems I needed to extract the jar from the installer jar, or get the non-installer jar from Jenkins to make it work.

Couldn't just drop the installer jar into the mods folder.

 

In my defense, dropping a jar from within a jar into the mods folder is kinda an odd thing to try, and I had no idea what "Jenkins" is.

  • 2 months later...
  • Author

Finally got around to trying my original plan of renaming the jar, and it seems to have worked.

In hindsight, it is kinda pointless trying to save drive space via forcing the newer versions to overwrite the old. The space saved is negligible, and not much reason to poke around that folder.

 

 

.minecraft\versions\VER\VER.json

.....Under libraries, replace "net.minecraftforge:forge:#.#.#-##.##.#.####" with "net.minecraftforge:forge:CUSTOM"

.minecraft\libraries\net\minecraftforge\forge\CUSTOM\forge-CUSTOM

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.