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

This is not a necessity. I would like to add all information for my mod in code without need of mcmod.info cause it's annoying that any one can edit the mcmod.info. Like the @Mod() could have all of the information as mcmod.info but it dosen't.

As I said this what I want but if it dosen't work then I'm fine with that.

It probably doesnt work...

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

  • Author
11 minutes ago, Leomelonseeds said:

It probably doesnt work...

if it dosen't work then I want this as a new thing for future forge.

1 hour ago, WOTBLITZ said:

it's annoying that any one can edit the mcmod.info

 
 

Yes, the user can edit the mcmod.info file. No, they wouldn't, no, they shouldn't and no, they won't get anything out of it.

 

You can use FMLPreInitializationEvent#getModMetadata() to get the ModMetadata instance of the mod, which you can fill in yourself.

Edited by larsgerrits

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

  • Author
1 hour ago, larsgerrits said:

Yes, the user can edit the mcmod.info file. No, they wouldn't, no, they shouldn't and no, they won't get anything out of it.

 

You can use FMLPreInitializationEvent#getModMetadata() to get the ModMetadata instance of the mod, which you can fill in yourself.

Isn't that the metadata from the mcmod.info and I don't think you can edit that.

 

44 minutes ago, diesieben07 said:

That's bad, Forge is not the only consumer of that file. Launchers or other metadata-gathering things will not know how to read your metadata if you fill it in with code. You should use a mcmod.info.

 

The mcmod.info cannot be edited any more or less than your MainMod.class file.

Well lets say that the mcmod.info exists an I edit the information in code.

 

Well, who knows java have an easier time to edit in code and mcmod.info, what said is that more that know how to edit the mcmod.info file then in code.

  • Author
52 minutes ago, diesieben07 said:

Yes it is and yes, you can edit it.

 

Why would you do that, ever?

 

Why are you even paranoid about people editing your mcmod.info? O.o

I'm paranoid cause I don't like stuff changing by someone.

  • Author
21 minutes ago, diesieben07 said:

If you don't want people to be able to change things you make, do not put things up for download. You cannot stop people from editing things.

 

Plus, with something like the mcmod.info, why do you care? What would someone gain from editing your mcmod.info?

Yeah, I know that but still I try.

And about the mcmod.info, I would like not only just what I said but also update the info every now and then. :)

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.