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

Recently I am trying to add some resource into a jar through java. By that I could insert some extern resource like songs when I launch the game. And then I learned about how to insert something into a jar through java. But it seems like we could just "override" a jar but not "insert". That's to say,we have to copy and paste whole jar file then add our files into it. And everytime we do it,we just create a new jar(although it could be totally containing the same content).

And then,I tried to set the insert stage to mod initalization phase. And first time I launch the game,It failed because the ClassnotDefExcetion,I guess that's because some .class files were overrided while running. But after this crash,every launching succeed and I just rerun it. So why it will always crash with ClassnotDefException at the first time but work peacefully after that and the mod just do what it did last time!!

  • Author
10 hours ago, loordgek said:

what are you trying to add

For example some .ogg music file.I wanna make it customizable to add players' own playlist.

  • Author
On 12/2/2022 at 10:19 PM, ChampionAsh5357 said:

Make a resource pack? Or make a mod. Don't try to modify an existing jar.

yep,what I meaned is I want to modify my mod jar itself while running.But that's truly kind of dangerous,maybe I would turn to modify the resource pack instead.

  • 3 weeks later...

Minecraft by default does not run mods so you need to use a mod loader, Forge. There are multiple different ways you can add mods whether you are just installing Forge and the mods manually to Minecraft or if you are using a launcher such as the Twitch Desktop App.

 

 

 

 

 

watch stories

cc generator

Edited by Kumar

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.