Jump to content

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


Recommended Posts

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

Posted

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

Posted

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

Posted

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

Posted

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 :)

Posted

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

Posted

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

Posted

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 :)

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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?

Posted

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

Posted

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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