Posted March 3, 201312 yr When I run my mod, everything goes smoothly until I create a world and I get on the world. Then come up the Warnings: Texture /tutorial/generic/block.png not preloaded, will cause render glitches! Warning Texture /tutorial/generic/furnace.png not preloaded, will cause render glitches! Here is also a picture of it on the screen: https://www.dropbox.com/s/qi12sgziezbh670/Minecraft%20Preloading%20Error.png?m Now I have everything preloaded and such in my client proxy. Here it is: package tutorialtest; import cpw.mods.fml.client.registry.RenderingRegistry; import net.minecraftforge.client.MinecraftForgeClient; public class ClientProxy extends CommonProxy { public static String BLOCKS_PNG = "/tutorial/generic/block.png"; public static String ITEMS_PNG = "/tutorial/generic/items.png"; public static String FURNACE_PNG = "/tutorial/generic/furnace.png"; public static void registerRenderThings() { MinecraftForgeClient.preloadTexture(BLOCKS_PNG); MinecraftForgeClient.preloadTexture(ITEMS_PNG); MinecraftForgeClient.preloadTexture(FURNACE_PNG); } public int addArmor(String armor) { return RenderingRegistry.addNewArmourRendererPrefix(armor); } } And just in case you need in since my ClientProxy is extending my CommonProxy here is the CommonProxy: package tutorialtest; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; import cpw.mods.fml.common.network.IGuiHandler; public class CommonProxy implements IGuiHandler { public static void registerRenderThings() { } @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { return null; } } Im not sure if my CommonProxy is doing the wrong thing since my ClientProxy is connected to it or what. Everything I have in there should make it not say the error. If you know the error please help! Ive been getting this error for a while and my ore's are not generating and I have random furnaces generating in the wild. Not sure what the problem is! Hope you can help!
March 3, 201312 yr proxy implementing gui handler? looks weird. use override annotation where it should be (like on registerRenderThings in client proxy), also I don't think that registerRenderThings should be static. mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
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.