AshIndigo Posted October 18, 2012 Posted October 18, 2012 It said it cant find the files but i find the folder in a new location and i try copying it it still wont work Below is my client proxy code and i even tried a tutorial package Firediamond.Mods; import net.minecraft.src.ModelBiped; import net.minecraft.src.ModelZombie; import net.minecraftforge.client.MinecraftForgeClient; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.common.Mod.Instance; public class ElectroCraftClientProxy extends ElectroCraftCommonProxy { public static void registerRenderInformation() { MinecraftForgeClient.preloadTexture("/Zeuscraft/ZeuscraftTerrain.png"); MinecraftForgeClient.preloadTexture("/Zeuscraft/ZeuscraftItems.png"); } } please reply if you the fix using eclipse Quote
XxArchangelz Posted November 8, 2012 Posted November 8, 2012 So you're unable to find the common proxy in your imports. You need to make sure its accessible for you. Send me an example of your common proxy. I use package magicbag.client.core; import magicbag.common.core.CommonProxy; import magicbag.common.lib.Reference; import magicbag.common.lib.RenderIds; import net.minecraftforge.client.MinecraftForgeClient; import cpw.mods.fml.client.registry.RenderingRegistry; public class ClientProxy extends CommonProxy { @Override public void initRenderingAndTextures() { RenderIds.magicbagRenderId = RenderingRegistry .getNextAvailableRenderId(); MinecraftForgeClient.preloadTexture(Reference.SPRITE_SHEET_LOCATION); } } package magicbag.common.core; import net.minecraft.src.EnumRarity; public class CommonProxy //implements IGuiHandler { public void registerKeyBindingHandler() {} public void setKeyBinding(String name, int value) {} public void registerSoundHandler() {} public void initCustomRarityTypes() {} public EnumRarity getCustomRarityType(String customRarity) { return null; } public void initRenderingAndTextures() {} } Quote
Ardenexal Posted November 9, 2012 Posted November 9, 2012 Make sure that all the cases are correct when i was writing mine i had the wrong cases on some of my files causing it not to work. also remember that the files are referenced from the src folder not the current folder the java file is located. for example urs should be located at %mcp%/src/Zeuscraft/ZeuscraftTerrain.png hope this helps or atleast gets you on the right track. programming take persistence and patience as i have found wish you good luck in your mod Quote
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.