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

I keep trying to find the answer in the meanwhile but i just wanted to know if its that its a known bug or that it is fixed in the next update. and how can i easily update?

 

My armor and tools show up in creative and in crafting recipes as a default images. i used a sepperate immage file for my blocks and 1 for all of my items, the normal items like gems and stuff like that show up normally but my armor and tools show up as the deffault picture corresponding to the index that i gave them (according to my file), for example i gave my BronzeSword the

 

static EnumToolMaterial toolBRONZE = EnumHelper.addToolMaterial("BRONZE",2, 180, 5.8F, 2, 12);

public static final Item BronzeSword = (new ItemPickaxe(1052,toolBRONZE).setIconIndex(119).setItemName("BronzeSword"));

and it shows up as an empty sprite... (probably because in default terrain.png index 119 isnt anything)

I see nowhere where you set the Texture File

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

ah jeah sorry i forgot to add it, here it is:

 

in the file i have this :

 

 

package net.minecraft.src;

 

import net.minecraftforge.client.*;

 

public class ItemBronzeSword extends Item

{

protected ItemBronzeSword(int i)

{

super(i);

}

    public String getTextureFile()

    {

        return "/mod_Ores/gui/ItemsMe.png";

    }

}

 

 

 

And in the public void i have:

 

MinecraftForgeClient.preloadTexture("/mod_Ores/Blocks.png");

MinecraftForgeClient.preloadTexture("/mod_Ores/gui/ItemsMe.png");

 

So..

you make a ItemPickaxe and you set the texture in ItemBronzeSword?

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

well i tried doing it like "ItemSword" and such but that doesnt work aswell.

 

This error shows up when joining the game (the map not the client).

 

 

java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftCloaks/Player540.png

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at java.security.AccessController.doPrivileged(Native Method)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at net.minecraft.src.ThreadDownloadImage.run(ThreadDownloadImage.java:48)

2012-08-29 16:36:23 [iNFO] [sTDERR] Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://skins.minecraft.net/MinecraftCloaks/Player540.png

2012-08-29 16:36:23 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at java.net.HttpURLConnection.getResponseCode(Unknown Source)

2012-08-29 16:36:23 [iNFO] [sTDERR] at net.minecraft.src.ThreadDownloadImage.run(ThreadDownloadImage.java:37)

 

 

 

That's not a issue, its just the skin server being down.

Anyways i've specified what you're issue is, go fix it.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

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.