Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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!

      GameRegistry.addRecipe(new ItemStack(Item.coal, 1), "XXX", "XXX", "XXX", 'X', (Item)ligniteCoal);

 

Try that it should work in @int

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.