Posted April 11, 201312 yr I want all the classes and textures to be in the mods folder but i can only have to textures in the minecraft.jar other wise it wont work? How do you make it so that you can have the textures and the classes in one folder in the mods folder?
April 11, 201312 yr Textures do not need to go in the jar, they just need to be inside a folder called 'mods' which is zipped up alongside your classes. E.g. if your main package is "ellbelly.main" and you register your textures as "ellbelly:myblock" then your zip will contain these folders: /ellbelly (contains /main, which contains your class files and other packages) /mods/ellbelly/textures/blocks (contains a png file named 'myblock.png') The compiler will not move the textures folder from the /src directory to /reobf when you compile, you will have to copy it manually (I tend to make a zip of my classes, move it out of the /reobf folder, then add the textures to that zip, and new compiles just get the new classes added, overwriting the old ones). See: http://www.minecraftforge.net/wiki/Icons_and_Textures#Item_and_Block_Textures (Note: for that project I'm referencing the textures directly, not using the icon register, as the moon isn't part of that icon register thingy, but I set up my folders the same way to stay organized) 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.
April 11, 201312 yr Author Hmm well that's how i have it I think. When i run it like this it the textures come up as missing? /.minecraft/mods/MyMod/minecraft/OresMod |_ |_ /textures /client- Classes | /common- Classes |_ /blocks- Pictures /items- Pictures /armor- Pictures
April 11, 201312 yr because that's not how you package things. This is wrong: /.minecraft/mods/MyMod/minecraft/OresMod |_ |_ It should be like this: /.minecraft/mods/MyMod.zip |_ /OresMod |_ /client /common /mods/textures |_ /blcoks /items /armors 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.