Jump to content

Recommended Posts

Posted

SOLVED- So Finally i can release my mod thanks for the help everyone. im not sure if im allowed to post a mod thread link here but im not doing it for spam or advertising just so that the people who helped me have an idea of what i was doing - http://www.minecraftforum.net/topic/1888261-craft-xp-mod-151mod-alpha-forge/

 

 

So my problem was that i want minecraft to load my item and block textures (when i have installed the mod not in eclipse) in .minecraft/mods/MyModName/textures/itemsOrBlocks

 

when im in eclipse my item and block textures loads properly but when installing the mod in minecraft (putting my mod folder in the mods folder) the textures dont load. Maybe there is something wrong with my code or a part im missing. i appreciate any help and efforts.

 

My Main class file

 

 

  Reveal hidden contents

 

 

 

Then here is one of my item classes

 

 

  Reveal hidden contents

 

 

!MAIN PROBLEM!

So inside my mods or assets folder i have my mod as a folder. if you are about to post that i need to have it as a zip let me tell you first that i get this crash report. and when i have it as a rar the mod dosen´t load.

 

So when i have it as a zip in the mods/assets folder i get crash report. but not if i run it just as a folder

 

Crash Report when having it as a ZIP

 

  Reveal hidden contents

 

 

 

 

 

Picture of what i get in minecraft (outside eclipse)

 

  Reveal hidden contents

 

 

Thanks!

Posted
  Quote
"grubseMark2:goldd"

 

Make everything lower case.  Both in the code and the file/folder names.

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
  On 7/10/2013 at 7:16 PM, Draco18s said:

  Quote
"grubseMark2:goldd"

 

Make everything lower case.  Both in the code and the file/folder names.

 

it didnt work. i posted what it looks like if it helps

Posted
  On 7/10/2013 at 7:48 PM, larsgerrits said:

You said that you made everything lower case? Modid? In your registerIcon method? Folder names?

 

sorry just noticed. yes so this is the path for the class files for the mod which MC does find and run: C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\craftxpmod\grubsemark2

 

and this is the path for the textures (in this example i use the final folder in textures "items")

C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\craftxpmod\textures\items

Posted
  On 7/10/2013 at 7:48 PM, larsgerrits said:

You said that you made everything lower case? Modid? In your registerIcon method? Folder names?

 

look at my previous reply to you. i dont know if you already have seen it if you have then sorry

Posted
  On 7/10/2013 at 7:52 PM, Grubse said:

C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\craftxpmod\textures\items

 

*Cough*

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
  On 7/10/2013 at 8:10 PM, Draco18s said:

  Quote

C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\craftxpmod\textures\items

 

*Cough*

 

Forge ModLoader Creates that folder with the Capital M. im sure if you check your mods folder is with a capital M

Posted
  On 7/10/2013 at 8:12 PM, Grubse said:

Forge ModLoader Creates that folder with the Capital M. im sure if you check your mods folder is with a capital M

 

Are you zipping your files into a zip folder?

Because your textures need to go into that zip inside a folder called "mods" (1.5) or "assets" (1.6)

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

*Shakes head*

 

Try this: (for items)

C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\MODZIP.zip\assets\craftxpmod\textures\items

 

And blocks:

C:\Users\Grubse\AppData\Roaming\.minecraft\Mods\MODZIP.zip\assets\craftxpmod\textures\items

I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes.

 

I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there xD

Posted
  On 7/10/2013 at 8:15 PM, Draco18s said:

  Quote

Forge ModLoader Creates that folder with the Capital M. im sure if you check your mods folder is with a capital M

 

Are you zipping your files into a zip folder?

Because your textures need to go into that zip inside a folder called "mods" (1.5) or "assets" (1.6)

 

i had my mod folder as a folder and not a zip so i have made it to a zip now and will run it and the thing with assets and mods between the versions helped alot

Posted
  On 7/10/2013 at 8:21 PM, Grubse said:
the versions helped alot

 

Alot is grateful.

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

 

 

Alot is grateful.

 

So i get a crash error when having a zip there.    .minecraft/mods/craftxpmod.zip    the .zip is not there but just to show you that it is a zip file

 

the crash report is here:

  Reveal hidden contents

 

Posted
  Quote
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: grubseMark2.Mark2

 

Looks like your @ModID doesn't match your main class file

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
  On 7/10/2013 at 8:57 PM, Draco18s said:

  Quote
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: grubseMark2.Mark2

 

Looks like your @ModID doesn't match your main class file

 

this is my code @Mod(modid="grubsemark2",name="Mark2",version="v1.4")

Posted
  On 7/10/2013 at 8:57 PM, Draco18s said:

  Quote
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: grubseMark2.Mark2

 

Looks like your @ModID doesn't match your main class file

 

is there anything i can change or should i maybe just try to recompile and do that shit again and see if we missed something?

Posted

Looks like its missing another class then, I don't know.

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
  On 7/10/2013 at 9:22 PM, Draco18s said:

Looks like its missing another class then, I don't know.

 

no errors in eclipse. if you read my Main Problem text that is what i have noticed

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.