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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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