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.

mcmod.info OVERRIDES OTHERS? is there a way to edit description IN THE MOD.JAVA?

Featured Replies

Posted

Hi as i sayd in the description, the proplem of mcmod.info files is that in minecraft.jar there can be only one... is there a way to change the name of this file or edit the mod description in mod_Mymod.java file??

Actually i don't know what to write in this signature soooo.... anyway

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

  • Author

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

Well its strange that i made a big mod (dimension), and i still used to put all my files in minecraft.jar (well, it works in minecraft.jar too, but thanks

Actually i don't know what to write in this signature soooo.... anyway

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

  • Author

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

Actually i don't know what to write in this signature soooo.... anyway

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

  • Author

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

 

Thank you

Actually i don't know what to write in this signature soooo.... anyway

  • Author

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

 

ah another thing i checked out the ModMetadata file and i cant find the string theat set the minecraft version dependence of the mod...

Actually i don't know what to write in this signature soooo.... anyway

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

 

ah another thing i checked out the ModMetadata file and i cant find the string theat set the minecraft version dependence of the mod...

 

You're welcome :)

  • Author

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

 

ah another thing i checked out the ModMetadata file and i cant find the string theat set the minecraft version dependence of the mod...

 

You're welcome :)

 

please tell me how can i set mod dependence and version dependences...

Actually i don't know what to write in this signature soooo.... anyway

your mod doesnt go into minecraft.jar, the zip goes into mods folder. You have to make an mcmod.info, there is no other way

 

The mcmod.info file in the zip is the most popular way, but you can have the info,action defined in the @PreInit method of your mod file. I do as having it in the zip crashes me for some reason...

 

how can i do this?

 

I did this for mine, there are probably better ways of doing it though.

 

ModMetadata data = event.getModMetadata();
data.name = "Name";
data.version = "Version";
data.url = "website";
data.authorList = Arrays.asList(new String[] {"author1", "author2"});
data.description = "Description";
data.logoFile = "logo file .png";
data.credits = "Any other credits!";
data.autogenerated = false; //Ignore me, just keep me as false

 

Also, the are other things to include in this that I haven't. You can find them in the same file as getModMetadata.

 

I found out how to do this from this tutorial, which has lots of info on how it works. I just adapted it a little :)

 

ah another thing i checked out the ModMetadata file and i cant find the string theat set the minecraft version dependence of the mod...

 

You're welcome :)

 

please tell me how can i set mod dependence and version dependences...

 

Same as you would in the mcmod.info file. All the tags are the same

Same as you would in the mcmod.info file. All the tags are the same

 

That would be correct because the mcmod.info file is just a JSON string. ;)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Same as you would in the mcmod.info file. All the tags are the same

 

That would be correct because the mcmod.info file is just a JSON string. ;)

 

@Mod(modid = "Glacia", name = "Glacia", version = "4.0", acceptedMinecraftVersions = "1.5.2", dependencies = "mod_MinecraftForge")

 

Strangely the dependence "mod_MinecraftForge" is not working with MCP and when there is this string, the mod is not loaded probably because the dependencie is not satisfated... Why?

Actually i don't know what to write in this signature soooo.... anyway

Same as you would in the mcmod.info file. All the tags are the same

 

That would be correct because the mcmod.info file is just a JSON string. ;)

 

@Mod(modid = "Glacia", name = "Glacia", version = "4.0", acceptedMinecraftVersions = "1.5.2", dependencies = "mod_MinecraftForge")

 

Strangely the dependence "mod_MinecraftForge" is not working with MCP and when there is this string, the mod is not loaded probably because the dependencie is not satisfated... Why?

 

That could be two things...

 

1) Minecraft forge is not mod_minecraftforge

2) You have defined the dependencies wrong. I was thinking just in the same metadata bit I gave you earlier you could just put data.dependencies  as one of the tags, just like in the mcmod.info.

 

Also, do you need to define minecraft forge as a dependency as your mod wouldn't be found without it?

  • Author

Same as you would in the mcmod.info file. All the tags are the same

 

That would be correct because the mcmod.info file is just a JSON string. ;)

 

@Mod(modid = "Glacia", name = "Glacia", version = "4.0", acceptedMinecraftVersions = "1.5.2", dependencies = "mod_MinecraftForge")

 

Strangely the dependence "mod_MinecraftForge" is not working with MCP and when there is this string, the mod is not loaded probably because the dependencie is not satisfated... Why?

 

That could be two things...

 

1) Minecraft forge is not mod_minecraftforge

2) You have defined the dependencies wrong. I was thinking just in the same metadata bit I gave you earlier you could just put data.dependencies  as one of the tags, just like in the mcmod.info.

 

Also, do you need to define minecraft forge as a dependency as your mod wouldn't be found without it?

 

in ModMetadata there is a code requiredMods... but it isn't a String but a Set<ArtifactVersion>, and dependencies in ModMetadata is not a String but a List<ArtifactVersion>... WHT DAFUK IS THT??

Actually i don't know what to write in this signature soooo.... anyway

in ModMetadata there is a code requiredMods... but it isn't a String but a Set<ArtifactVersion>, and dependencies in ModMetadata is not a String but a List<ArtifactVersion>... WHT DAFUK IS THT??

 

It's a List.

http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.