Alesimula Posted May 5, 2013 Posted May 5, 2013 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?? Quote Actually i don't know what to write in this signature soooo.... anyway
Cyani Posted May 5, 2013 Posted May 5, 2013 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 Quote
Alesimula Posted May 5, 2013 Author Posted May 5, 2013 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 Quote Actually i don't know what to write in this signature soooo.... anyway
luisc99 Posted May 5, 2013 Posted May 5, 2013 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... Quote
Alesimula Posted May 5, 2013 Author Posted May 5, 2013 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? Quote Actually i don't know what to write in this signature soooo.... anyway
luisc99 Posted May 5, 2013 Posted May 5, 2013 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 Quote
Alesimula Posted May 5, 2013 Author Posted May 5, 2013 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 Quote Actually i don't know what to write in this signature soooo.... anyway
Alesimula Posted May 5, 2013 Author Posted May 5, 2013 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... Quote Actually i don't know what to write in this signature soooo.... anyway
luisc99 Posted May 5, 2013 Posted May 5, 2013 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 Quote
Alesimula Posted May 5, 2013 Author Posted May 5, 2013 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... Quote Actually i don't know what to write in this signature soooo.... anyway
luisc99 Posted May 5, 2013 Posted May 5, 2013 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 Quote
Draco18s Posted May 5, 2013 Posted May 5, 2013 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. Quote 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.
Alesimula Posted May 6, 2013 Author Posted May 6, 2013 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? Quote Actually i don't know what to write in this signature soooo.... anyway
luisc99 Posted May 6, 2013 Posted May 6, 2013 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? Quote
Alesimula Posted May 6, 2013 Author Posted May 6, 2013 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?? Quote Actually i don't know what to write in this signature soooo.... anyway
Draco18s Posted May 6, 2013 Posted May 6, 2013 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 Quote 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.
Recommended Posts
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.