You are viewing our Forum Archives. To view or take place in current topics click here.

Are these good tutorials? Sticky?

Yes deserves a sticky!
66.34% (67 votes)
There good but not sticky worthy
13.86% (14 votes)
There not good
19.80% (20 votes)

Total Votes: 101

#21. Posted:
Odin
  • Christmas!
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Skierz wrote i get the error 'The constructor ItemArmor(int, int, int, int) is undefined' on each line29-32 when copying the armour mod

Can you post your mod_Namehere

^^^ put it in [code] so that its easier to read
#22. Posted:
jcben11
  • New Member
Status: Offline
Joined: Dec 19, 201112Year Member
Posts: 1
Reputation Power: 0
Status: Offline
Joined: Dec 19, 201112Year Member
Posts: 1
Reputation Power: 0
This tutorial page is AWESOME! But I have been having trouble with the armor effects. I might just be doing somthing wrong. But Its still AWESOME keep it up!!
#23. Posted:
Odin
  • TTG Addict
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
jcben11 wrote This tutorial page is AWESOME! But I have been having trouble with the armor effects. I might just be doing somthing wrong. But Its still AWESOME keep it up!!

THANKS!!!! if this post gets popular then ill start adding more tutorials
#24. Posted:
Dazzatron
  • New Member
Status: Offline
Joined: Dec 21, 201112Year Member
Posts: 2
Reputation Power: 0
Status: Offline
Joined: Dec 21, 201112Year Member
Posts: 2
Reputation Power: 0
HI, ive got a promblem with my mod and i cant view it in game, theres no errors, and i dont no wats wrong.

package net.minecraft.src;

import net.minecraft.client.Minecraft;

public abstract class mod_blazesword
{

public mod_blazesword()
{
blazeswordSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/tools/blazesword.png");

ModLoader.AddName(blazeswordSword, "Blazing Sword");

ModLoader.AddRecipe(new ItemStack(blazeswordSword, 1), new Object[] {"###", "#S#", "###", Character.valueOf('#'), Block.dirt, Character.valueOf('S'), Item.seeds});
}
static
{
new ItemSword(1004, EnumToolMaterial.EMERALD).setItemName("5");
}

public String Version()
{
return "1.0.0";
}

public static Item blazeswordSword;

}

And this is the best modding tutorial i have found on the web,:2thumbsup: u get my thumbs up.
#25. Posted:
Odin
  • TTG Addict
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Dazzatron wrote HI, ive got a promblem with my mod and i cant view it in game, theres no errors, and i dont no wats wrong.

package net.minecraft.src;

import net.minecraft.client.Minecraft;

public abstract class mod_blazesword
{

public mod_blazesword()
{
blazeswordSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/tools/blazesword.png");

ModLoader.AddName(blazeswordSword, "Blazing Sword");

ModLoader.AddRecipe(new ItemStack(blazeswordSword, 1), new Object[] {"###", "#S#", "###", Character.valueOf('#'), Block.dirt, Character.valueOf('S'), Item.seeds});
}
static
{
new ItemSword(1004, EnumToolMaterial.EMERALD).setItemName("5");
}

public String Version()
{
return "1.0.0";
}

public static Item blazeswordSword;

}

And this is the best modding tutorial i have found on the web,:2thumbsup: u get my thumbs up.

Can you post your error code and your mod_Namehere in [code][/code.] (without the .)
#26. Posted:
Dazzatron
  • New Member
Status: Offline
Joined: Dec 21, 201112Year Member
Posts: 2
Reputation Power: 0
Status: Offline
Joined: Dec 21, 201112Year Member
Posts: 2
Reputation Power: 0
package net.minecraft.src;

import net.minecraft.client.Minecraft;

public abstract class mod_blazesword
{

    public mod_blazesword()
    {
        blazeswordSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/tools/blazesword.png");
       
        ModLoader.AddName(blazeswordSword, "Blazing Sword");
       
        ModLoader.AddRecipe(new ItemStack(blazeswordSword, 1), new Object[] {"###", "#S#", "###", Character.valueOf('#'), Block.dirt, Character.valueOf('S'), Item.seeds});
        }
    static
    {
        new ItemSword(1004, EnumToolMaterial.EMERALD).setItemName("5");
    }

    public String Version()
    {
        return "1.0.0";
    }

    public static Item blazeswordSword;

}



There are no errors when recompiling and when starting client, but if i put extends BaseMod at the end of public abstract class mod_blazesword, and when i start client it crashes.
#27. Posted:
AnguishZed
  • New Member
Status: Offline
Joined: Nov 07, 201112Year Member
Posts: 27
Reputation Power: 1
Status: Offline
Joined: Nov 07, 201112Year Member
Posts: 27
Reputation Power: 1
Does this forum not have [code] tags, because skimming over that code hurt. ;-;
#28. Posted:
Odin
  • Christmas!
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Dazzatron wrote
package net.minecraft.src;

import net.minecraft.client.Minecraft;

public abstract class mod_blazesword
{

    public mod_blazesword()
    {
        blazeswordSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/tools/blazesword.png");
       
        ModLoader.AddName(blazeswordSword, "Blazing Sword");
       
        ModLoader.AddRecipe(new ItemStack(blazeswordSword, 1), new Object[] {"###", "#S#", "###", Character.valueOf('#'), Block.dirt, Character.valueOf('S'), Item.seeds});
        }
    static
    {
        new ItemSword(1004, EnumToolMaterial.EMERALD).setItemName("5");
    }

    public String Version()
    {
        return "1.0.0";
    }

    public static Item blazeswordSword;

}



There are no errors when recompiling and when starting client, but if i put extends BaseMod at the end of public abstract class mod_blazesword, and when i start client it crashes.



I fixed you code, here it is (the fix is at the bottom)

package net.minecraft.src;

import net.minecraft.client.Minecraft;

public abstract class mod_blazesword extends BaseMod
{

    public mod_blazesword()
    {
        blazeswordSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/tools/blazesword.png");
       
        ModLoader.AddName(blazeswordSword, "Blazing Sword");
       
        ModLoader.AddRecipe(new ItemStack(blazeswordSword, 1), new Object[] {"###", "#S#", "###", Character.valueOf('#'), Block.dirt, Character.valueOf('S'), Item.seeds});
    }
    static
    {
        new ItemSword(1004, EnumToolMaterial.EMERALD).setItemName("5");
    }

    public String Version()
    {
        return "1.0.0";
    }

    public static Item blazeswordSword;
   
    public String getVersion()
    {
        // TODO Auto-generated method stub
        return null;
    }

    public void load()
    {
        // TODO Auto-generated method stub

    }
}
#29. Posted:
Odin
  • TTG Addict
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
Status: Offline
Joined: Dec 23, 201013Year Member
Posts: 2,446
Reputation Power: 80
AnguishZed wrote Does this forum not have [code] tags, because skimming over that code hurt. ;-;

This forum does have [code] tags
#30. Posted:
-Post-
  • Junior Member
Status: Offline
Joined: Dec 22, 201112Year Member
Posts: 62
Reputation Power: 2
Status: Offline
Joined: Dec 22, 201112Year Member
Posts: 62
Reputation Power: 2
Nice guide,I will try this.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.