Posted September 13, 201213 yr Ok, I'm wracking my brain here, but having no luck. I can't seem to get the Tutorial's Textures to load in my game. Can someone tell me exactly the path (from the MCP folder) that I should be putting these files in, if my package is named Tutorial and the Mod name is Generic? I'm sure this is a dumb question, but I just want to get textures working before I move on. Thanks!
September 13, 201213 yr Unfortunately (someone correct me if I'm wrong), you have to add the textures to the "jars/bin/minecraft.jar" archive. BEWARE OF GOD --- Co-author of Pentachoron Labs' SBFP Tech.
September 13, 201213 yr took me some time too, but heres the way how i did it. based of that your mod starts somewhere in common (my path would be something like "%MCPROOT%/forge/common/xemrox/testmod") and that your file is named "texture.png". (if you work with eclipse you most likely created the corresponding package) you would like to register it this way: MinecraftForgeClient.preloadTexture("/xemrox/testmod/texure.png"); Garbage Collection In Progress <|||| >
September 13, 201213 yr Author Looks like my problem was I needed to Refresh the Eclipse Package list, and then my .png files showed up. For reference, they are in %MCP%/src/minecraft/tutorial/generic, one folder above the ClientProxy.java file
September 13, 201213 yr As a side note: September 8th, 2012 There was a mistake in understanding the difference between the common and src source directories. common is used for both server side and client side code while src is used purely for client side. If you want your mod to work, please move over the tutorial.generic package to the common source directory. straight from the wiki. Garbage Collection In Progress <|||| >
September 14, 201213 yr Author Ok, looks like I was wrong before. The .png files need to go into %MCP%/eclipse/Minecraft/bin/tutorial/generic if you are following the code in the tutorial
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.