Jump to content

Texture issues and recipe not working


Exterminator Jeff

Recommended Posts

Hi just two small issues that I can't seem to fix:

 

First of all quite often (maybe 1 out of 10 times) my textures fail to load. The only message I get is "texture couldn't be preloaded" or something along those lines. f3 + t fixes the issue right away but it's quite annoying. Does anyone know what might be causing that?

 

Secondly I have one recipe that refuses to work in multiplayer but works fine in single player. The recipe uses a full crafting bench of a mod item to produce 1 coal. I've tried having the recipe in post init and that didn't change anything.

 

Here is my main class: http://pastebin.com/KJ8jpC7s

 

and the recipe itself:

 

@PostInit

public void postInit(FMLPostInitializationEvent event){

GameRegistry.addRecipe(new ItemStack(Item.coal, 1), new Object[]{"XXX", "XXX", "XXX", 'X', (Item)ligniteCoal});//Recipe only works if added here for some reason

}

 

and my proxy:

 

package exterminatorJeff.undergroundBiomes.client;

 

import net.minecraftforge.client.MinecraftForgeClient;

import exterminatorJeff.undergroundBiomes.common.*;

 

public class ClientProxy extends CommonProxy{

 

@Override

    public void registerRenderThings(){

MinecraftForgeClient.preloadTexture("/undergroundBiomes/BlockTextures.png");

MinecraftForgeClient.preloadTexture("/undergroundBiomes/Items.png");

    }

}

 

Thanks!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.