Jump to content

HoBoS_TaCo

Forge Modder
  • Posts

    140
  • Joined

  • Last visited

Posts posted by HoBoS_TaCo

  1. Good to know that i'm not the only one with this problem. I used the exact same code (.addName() and .addOverride) as 1.2.5, fml/mcp doesn't give me any errors and the image and name won't load. It seems the fml isn't picking up these overrides, for one item it used an image from minecraft's items.png. I'm using 3.0.20.251 for 1.3.1.

    width=800 height=449https://dl.dropbox.com/u/45513981/Images/2012-08-13_20.42.18.png[/img]

            ModLoader.addName(cannedspag, "Can of Spagetti");
    cannedspag.iconIndex = ModLoader.addOverride("/gui/items.png", "/DayZ/cannedspag.png");
    

     

    Hmm i'm gonna try forge build 181.

  2. My mod in 1.2.5 extended the WorldType class just fine but now as I am trying to update to 1.3.1 I can't extend because WorldType is private.

     

    1.3.1

    private WorldType(int par1, String par2Str)
        {
            this(par1, par2Str, 0);
        }
    
        private WorldType(int par1, String par2Str, int par3)
        {
    

     

    1.2.5

    protected WorldType(int par1, String par2Str)
        {
            this(par1, par2Str, 0);
        }
    
        protected WorldType(int par1, String par2Str, int par3)
        {
    

     

    Am I missing something or have I made nooby mistake? I can fix this by changing WorldType 1.3 to protected but its not an ideal fix. Any help would be appreciated.

×
×
  • Create New...

Important Information

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