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 there,

 

i have a little private Server and i want to give tungsten ore a little use: Smelting Tungsten gives 1 diamond...

 

Minecraft is starting but in game, when i place tungsten in a furnace nothing happens.

 

Here the sourcecode,

 

	public void load(FMLInitializationEvent event)
	{
		proxy.registerRenders();

		//Variablen
		int TungstenOre = OreDictionary.getOreID("oreTungsten");


		//Smelting Recipes
		GameRegistry.addSmelting(TungstenOre, new ItemStack(Item.diamond), 2.0F);
	}

 

Am I doing something wrong?

I have a similar code that works perfectly, only difference I see between yours and mine is you have:

proxy.registerRenders();

 

and I have:

proxy.registerRenderThings();

 

When I try to add yours, eclipse says that method needs to be created.

  • Author

Tanks for you reply

This function is empty in my source:

 

CommonProxy.java

public class CommonProxy {

public static String ITEM_PNG = "/items.png";
public static String BLOCK_PNG = "/blocks.png";

public void registerRenders() {}


}

 

The two _PNG are placeholder for the future. The png's don't exists. Should i delete these lines or am i missing something in my function?

from what I'm aware of, I don't think it's possible at the moment. although you could make it a crafting recipe instead of smelting recipe.

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.