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

Hello.I have one problem.I changed folder to download texturepacks, saves, stats and resourses but mods...

I did changing in Minecraft.class with InClassTranslater.I know, that "Forge" substitute original Minecraft.class and i write here.Please, help me!

umm... what?

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

OMG!!!I have my own launcher. It downloads minecraft to another folder(not .minecraft). I did changes, that minecraft takes saves, texturepacks from another folder(not .minecraft  :P), but folder mods... It create at .minecraft, but i want that it creat at another foldeder

And question.How to change it?It changes in Minecraft.class (minecraft.jar/net/client/) with original client, Forge substitute Minecraft.class and i can't change it(don't know how).

Alright, so english isn't your first language, so I am gunna try and ignore some of the failure to comunicate.

Anyways, there is a field inside of Minecraft that holds the root folder that Minecraft uses for all folders, you can use your Launcher to change that field.

I dont know which field it is off the top of my head, but its fairly straight forward if you take 10 mins to go research how the directory is obtained. If you are writing a launcher, you should have the skills to read the code and figure it out.

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

Mmmm... Sory for my English, you're right...But I worked with Minecraft.class (I know that in this file, I must doing changes), and don't understand. I changed line with "minecraft" to "mine". But folder mods anyway reads in .minecraft (not .mine  :(), folders texturepacks,saves read in .mine  :). I think you can help me, because you're authors of "Forge" .

P.S. sory for my English again if I have mistakes.

P.P.S. if i don't do changes in Minecraft.class, all folders are read in .minecraft

P.P.P.S my launcher download Client.zip from FTP and unzips it in .mine

there is a function in Minecraft something along the lines of getDataDir() or something like that.

Look into that and see how it determines the path, I know it uses a field.

What you need to do is make your launcher set that field. Then anything that uses getDataDir will get your new path.

Also, we do not support illegally distrabuting the mods/jars, which you just described.

 

And, DO NOT BUMP YOUR POSTS. It may result in a ban next time.

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

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.