i do not have skype. just make a spoiler and put it in there
Ok I found out here to make a spoiler and this is all of my code
import net.minecraft.client.Minecraft;
public class mod_MCarmor extends BaseMod
{
//green armor
public static final Item greenBody = (new ItemArmor(2201, EnumArmorMaterial.GREENGEM ,5,1 ).setItemName("GreenBody"));
public static final Item greenHelmet = (new ItemArmor(2200,EnumArmorMaterial.GREENGEM ,5,0 ).setItemName("GreenHelmet"));
public static final Item greenPants = (new ItemArmor(2202,EnumArmorMaterial.GREENGEM ,5,2 ).setItemName("GreenPants"));
public static final Item greenBoots = (new ItemArmor(2203,EnumArmorMaterial.GREENGEM, 5, 3 ).setItemName("GreenBoots"));
//ruby armor
public static final Item rubyBody = (new ItemArmor(6001, EnumArmorMaterial.RUBY ,6,1 ).setItemName("RubyBody"));
public static final Item rubyHelmet = (new ItemArmor(6000,EnumArmorMaterial.RUBY ,6,0 ).setItemName("RubyHelmet"));
public static final Item rubyPants = (new ItemArmor(6002,EnumArmorMaterial.RUBY ,6,2 ).setItemName("RubyPants"));
public static final Item rubyBoots = (new ItemArmor(6003,EnumArmorMaterial.RUBY, 6, 3 ).setItemName("RubyBoots"));
//sapphire armor
public static final Item sapphireBody = (new ItemArmor(6501, EnumArmorMaterial.SAPPHIRE ,7,1 ).setItemName("SapphireBody"));
public static final Item sapphireHelmet = (new ItemArmor(6500,EnumArmorMaterial.SAPPHIRE ,7,0 ).setItemName("SapphireHelmet"));
public static final Item sapphirePants = (new ItemArmor(6502,EnumArmorMaterial.SAPPHIRE ,7,2 ).setItemName("SapphirePants"));
public static final Item sapphireBoots = (new ItemArmor(6503,EnumArmorMaterial.SAPPHIRE, 7, 3 ).setItemName("SapphireBoots"));
//crystal armor
public static final Item crystalBody = (new ItemArmor(7001, EnumArmorMaterial.CRYSTAL ,8,1 ).setItemName("CrystalBody"));
public static final Item crystalHelmet = (new ItemArmor(7000,EnumArmorMaterial.CRYSTAL ,8,0 ).setItemName("CrystalHelmet"));
public static final Item crystalPants = (new ItemArmor(7002,EnumArmorMaterial.CRYSTAL ,8,2 ).setItemName("CrystalPants"));
public static final Item crystalBoots = (new ItemArmor(7003,EnumArmorMaterial.CRYSTAL, 8, 3 ).setItemName("crystalBoots"));
//opal armor
public static final Item opalBody = (new ItemArmor(7501, EnumArmorMaterial.OPAL ,9,1 ).setItemName("OpalBody"));
public static final Item opalHelmet = (new ItemArmor(7500,EnumArmorMaterial.OPAL ,9,0 ).setItemName("OpalHelmet"));
public static final Item opalPants = (new ItemArmor(7502,EnumArmorMaterial.OPAL ,9,2 ).setItemName("OpalPants"));
public static final Item opalBoots = (new ItemArmor(7503,EnumArmorMaterial.OPAL, 9, 3 ).setItemName("OpalBoots"));
public static final Item greenBody = (new ItemArmor(2201, EnumArmorMaterial.GREENGEM ,5,1 ).setItemName("GreenBody"));
public static final Item CreatureHelmet = (new ItemArmorCreature(1012,EnumArmorMaterial.CStone, ModLoader.addArmor("Creature"), 0).setItemName("CreatureHelmet"));
okay so in my code you can see instead of having the modloader outsite my code it is within the line of code. I have put the ModLoader.addArmor inside all my armorcodes if you understand me. And your number five thing, you do not need that, and if it still does not wotk when you have done this, then view this video: it is in two parts.
the reason you may need to watch this is, because you may not be able to see your armor, but I do not know for sure. but it might help, because, that five thing you have in your code, it only goes to nine as far as I know.
But the way i have done it is without making another mod_file, so you may need to se the video.
I hope it works for you, but i am sorry if it does not.
public static final Item greenBody = (new ItemArmor(2201, EnumArmorMaterial.GREENGEM ,5,1 ).setItemName("GreenBody"));
public static final Item CreatureHelmet = (new ItemArmorCreature(1012,EnumArmorMaterial.CStone, ModLoader.addArmor("Creature"), 0).setItemName("CreatureHelmet"));
okay so in my code you can see instead of having the modloader outsite my code it is within the line of code. I have put the ModLoader.addArmor inside all my armorcodes if you understand me. And your number five thing, you do not need that, and if it still does not wotk when you have done this, then view this video: it is in two parts.
the reason you may need to watch this is, because you may not be able to see your armor, but I do not know for sure. but it might help, because, that five thing you have in your code, it only goes to nine as far as I know.
But the way i have done it is without making another mod_file, so you may need to se the video.
I hope it works for you, but i am sorry if it does not.
No it dose not help me it still says there are no more item sprites indicts left!
hey SCM
can youpleas upload more lets make an mod ?
and doing some toturials on multiblock structures and vihicles as mayby planes or boats
(mayby parkchop likes a plane after that trail mix )
hey SCM
can youpleas upload more lets make an mod ?
and doing some toturials on multiblock structures and vihicles as mayby planes or boats
(mayby parkchop likes a plane after that trail mix )
Sorry for the delay! I will try my best to make a video today!
The Meaning of Life, the Universe, and Everything.
Join Date:
1/15/2013
Posts:
63
Minecraft:
tjb12
Member Details
Can you help please every time I try to run eclipse I get a long message (I cant copy it) and then it wont start up, I've followed EXACTLY how you did it but it wont work
SCMowns,
I tryed getting Techne and its not working it says : Unable to install or run this application. This application requires your system to be up dated to Microsoft Common Language Runtime Version 4.0.30319.0. Please contact you system administrator.
I get some errors when recompiling for the generating ores code. Here's the error:
src\minecraft\net\minecraft\src\mod_NewOres.java:11: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
^
src\minecraft\net\minecraft\src\mod_NewOres.java:13: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
Random randomGenerator = random;
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: operator + cannot be applied to int,Random.nextInt
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: incompatible types
found : <nulltype>
required: int
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: operator + cannot be applied to int,Random.nextInt
int randPosZ = chunkZ + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: incompatible types
found : <nulltype>
required: int
int randPosZ = chunkZ + randomGenerator.nextInt(16);
Here's the code:
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
{
Random randomGenerator = random;
for (int i = 0; i < 2; i++)
{
int randPosX = chunkX + randomGenerator.nextInt(16);
int randPosY = random.nextInt(32);
int randPosZ = chunkZ + randomGenerator.nextInt(16);
(new WorldGenMinable(thalliumOre.blockID, 3)).generate(world, random, randPosX, randPosY, randPosZ);
}
}
Please tell me the problem and how to fix it. BTW I'm using mc 1.4.7 and mcp 1.4.7.
I get some errors when recompiling for the generating ores code. Here's the error:
src\minecraft\net\minecraft\src\mod_NewOres.java:11: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
^
src\minecraft\net\minecraft\src\mod_NewOres.java:13: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
Random randomGenerator = random;
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: operator + cannot be applied to int,Random.nextInt
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: incompatible types
found : <nulltype>
required: int
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: operator + cannot be applied to int,Random.nextInt
int randPosZ = chunkZ + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: incompatible types
found : <nulltype>
required: int
int randPosZ = chunkZ + randomGenerator.nextInt(16);
Here's the code:
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
{
Random randomGenerator = random;
for (int i = 0; i < 2; i++)
{
int randPosX = chunkX + randomGenerator.nextInt(16);
int randPosY = random.nextInt(32);
int randPosZ = chunkZ + randomGenerator.nextInt(16);
(new WorldGenMinable(thalliumOre.blockID, 3)).generate(world, random, randPosX, randPosY, randPosZ);
}
}
Please tell me the problem and how to fix it. BTW I'm using mc 1.4.7 and mcp 1.4.7.
Ok I found out here to make a spoiler and this is all of my code
public class mod_MCarmor extends BaseMod
{
//green armor
public static final Item greenBody = (new ItemArmor(2201, EnumArmorMaterial.GREENGEM ,5,1 ).setItemName("GreenBody"));
public static final Item greenHelmet = (new ItemArmor(2200,EnumArmorMaterial.GREENGEM ,5,0 ).setItemName("GreenHelmet"));
public static final Item greenPants = (new ItemArmor(2202,EnumArmorMaterial.GREENGEM ,5,2 ).setItemName("GreenPants"));
public static final Item greenBoots = (new ItemArmor(2203,EnumArmorMaterial.GREENGEM, 5, 3 ).setItemName("GreenBoots"));
//ruby armor
public static final Item rubyBody = (new ItemArmor(6001, EnumArmorMaterial.RUBY ,6,1 ).setItemName("RubyBody"));
public static final Item rubyHelmet = (new ItemArmor(6000,EnumArmorMaterial.RUBY ,6,0 ).setItemName("RubyHelmet"));
public static final Item rubyPants = (new ItemArmor(6002,EnumArmorMaterial.RUBY ,6,2 ).setItemName("RubyPants"));
public static final Item rubyBoots = (new ItemArmor(6003,EnumArmorMaterial.RUBY, 6, 3 ).setItemName("RubyBoots"));
//sapphire armor
public static final Item sapphireBody = (new ItemArmor(6501, EnumArmorMaterial.SAPPHIRE ,7,1 ).setItemName("SapphireBody"));
public static final Item sapphireHelmet = (new ItemArmor(6500,EnumArmorMaterial.SAPPHIRE ,7,0 ).setItemName("SapphireHelmet"));
public static final Item sapphirePants = (new ItemArmor(6502,EnumArmorMaterial.SAPPHIRE ,7,2 ).setItemName("SapphirePants"));
public static final Item sapphireBoots = (new ItemArmor(6503,EnumArmorMaterial.SAPPHIRE, 7, 3 ).setItemName("SapphireBoots"));
//crystal armor
public static final Item crystalBody = (new ItemArmor(7001, EnumArmorMaterial.CRYSTAL ,8,1 ).setItemName("CrystalBody"));
public static final Item crystalHelmet = (new ItemArmor(7000,EnumArmorMaterial.CRYSTAL ,8,0 ).setItemName("CrystalHelmet"));
public static final Item crystalPants = (new ItemArmor(7002,EnumArmorMaterial.CRYSTAL ,8,2 ).setItemName("CrystalPants"));
public static final Item crystalBoots = (new ItemArmor(7003,EnumArmorMaterial.CRYSTAL, 8, 3 ).setItemName("crystalBoots"));
//opal armor
public static final Item opalBody = (new ItemArmor(7501, EnumArmorMaterial.OPAL ,9,1 ).setItemName("OpalBody"));
public static final Item opalHelmet = (new ItemArmor(7500,EnumArmorMaterial.OPAL ,9,0 ).setItemName("OpalHelmet"));
public static final Item opalPants = (new ItemArmor(7502,EnumArmorMaterial.OPAL ,9,2 ).setItemName("OpalPants"));
public static final Item opalBoots = (new ItemArmor(7503,EnumArmorMaterial.OPAL, 9, 3 ).setItemName("OpalBoots"));
//topaz armor
public void load()
{
//green armor
//green chestplate
greenBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/greenchest.png");
ModLoader.addName(greenBody, "Green Chestplate");
ModLoader.addRecipe(new ItemStack(greenBody,1), new Object[]{
"* *", "***", "***", Character.valueOf('*'),mod_minecraft.greengem});
//green helmet
greenHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/greenhelm.png");
ModLoader.addName(greenHelmet, "Green Helmet");
ModLoader.addRecipe(new ItemStack(greenHelmet,1), new Object[]{
"***", "* *", Character.valueOf('*'), mod_minecraft.greengem});
//green leggings
greenPants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/greenpants.png");
ModLoader.addName(greenPants, "Green Leggings");
ModLoader.addRecipe(new ItemStack(greenPants,1), new Object[]{
"***", "* *", "* *", Character.valueOf('*'), mod_minecraft.greengem});
//green boots
greenBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/greenboots.png");
ModLoader.addName(greenBoots, "Green Boots");
ModLoader.addRecipe(new ItemStack(greenBoots,1), new Object[]{
"* *", "* *", Character.valueOf('*'), mod_minecraft.greengem});
ModLoader.addArmor("green");
//ruby armor
//ruby chetplate
rubyBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/ruby chestplate.png");
ModLoader.addName(rubyBody, "Ruby Chestplate");
ModLoader.addRecipe(new ItemStack(rubyBody,1), new Object[]{
"* *", "***", "***", Character.valueOf('*'),mod_minecraft.ruby});
//ruby helmet
rubyHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/ruby helmet.png");
ModLoader.addName(rubyHelmet, "Ruby Helmet");
ModLoader.addRecipe(new ItemStack(rubyHelmet,1), new Object[]{
"***", "* *", Character.valueOf('*'), mod_minecraft.ruby});
//ruby leggings
rubyPants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/ruby leggings.png");
ModLoader.addName(rubyPants, "Ruby Leggings");
ModLoader.addRecipe(new ItemStack(rubyPants,1), new Object[]{
"***", "* *", "* *", Character.valueOf('*'), mod_minecraft.ruby});
//ruby boots
rubyBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/ruby boots.png");
ModLoader.addName(rubyBoots, "Ruby Boots");
ModLoader.addRecipe(new ItemStack(rubyBoots,1), new Object[]{
"* *", "* *", Character.valueOf('*'), mod_minecraft.ruby});
ModLoader.addArmor("ruby");
//sapphire armor
//sapphire chetplate
sapphireBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/sapphire chestplate.png");
ModLoader.addName(sapphireBody, "Sapphire Chestplate");
ModLoader.addRecipe(new ItemStack(sapphireBody,1), new Object[]{
"* *", "***", "***", Character.valueOf('*'),mod_minecraft.sapphire});
//sapphire helmet
sapphireHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/sapphire helmet.png");
ModLoader.addName(sapphireHelmet, "Sapphire Helmet");
ModLoader.addRecipe(new ItemStack(sapphireHelmet,1), new Object[]{
"***", "* *", Character.valueOf('*'), mod_minecraft.sapphire});
//sapphire leggings
sapphirePants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/sapphire leggings.png");
ModLoader.addName(sapphirePants, "Sapphire Leggings");
ModLoader.addRecipe(new ItemStack(sapphirePants,1), new Object[]{
"***", "* *", "* *", Character.valueOf('*'), mod_minecraft.sapphire});
//sapphire boots
sapphireBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/sapphire boots.png");
ModLoader.addName(sapphireBoots, "Sapphire Boots");
ModLoader.addRecipe(new ItemStack(sapphireBoots,1), new Object[]{
"* *", "* *", Character.valueOf('*'), mod_minecraft.sapphire});
ModLoader.addArmor("sapphire");
//crystal armor
//crystal chetplate
crystalBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/crystal chestplate.png");
ModLoader.addName(crystalBody, "Crystal Chestplate");
ModLoader.addRecipe(new ItemStack(crystalBody,1), new Object[]{
"* *", "***", "***", Character.valueOf('*'),mod_minecraft.crystal});
//crystal helmet
crystalHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/crystal helmet.png");
ModLoader.addName(crystalHelmet, "Crystal Helmet");
ModLoader.addRecipe(new ItemStack(crystalHelmet,1), new Object[]{
"***", "* *", Character.valueOf('*'), mod_minecraft.crystal});
//crystal leggings
crystalPants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/crystal leggings.png");
ModLoader.addName(crystalPants, "Crystal Leggings");
ModLoader.addRecipe(new ItemStack(crystalPants,1), new Object[]{
"***", "* *", "* *", Character.valueOf('*'), mod_minecraft.crystal});
//crystal boots
crystalBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/crystal boots.png");
ModLoader.addName(crystalBoots, "Crystal Boots");
ModLoader.addRecipe(new ItemStack(crystalBoots,1), new Object[]{
"* *", "* *", Character.valueOf('*'), mod_minecraft.crystal});
ModLoader.addArmor("crystal");
//opal armor
//opal chetplate
opalBody.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/opal chestplate.png");
ModLoader.addName(opalBody, "Opal Chestplate");
ModLoader.addRecipe(new ItemStack(opalBody,1), new Object[]{
"* *", "***", "***", Character.valueOf('*'),mod_minecraft.opal});
//opal helmet
opalHelmet.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/opal helmet.png");
ModLoader.addName(opalHelmet, "Opal Helmet");
ModLoader.addRecipe(new ItemStack(opalHelmet,1), new Object[]{
"***", "* *", Character.valueOf('*'), mod_minecraft.opal});
//opal leggings
opalPants.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/opal leggings.png");
ModLoader.addName(opalPants, "Opal Leggings");
ModLoader.addRecipe(new ItemStack(opalPants,1), new Object[]{
"***", "* *", "* *", Character.valueOf('*'), mod_minecraft.opal});
//opal boots
opalBoots.iconIndex = ModLoader.addOverride("/gui/items.png", "/items/Opal boots.png");
ModLoader.addName(opalBoots, "Opal Boots");
ModLoader.addRecipe(new ItemStack(opalBoots,1), new Object[]{
"* *", "* *", Character.valueOf('*'), mod_minecraft.opal});
ModLoader.addArmor("opal");
//topaz armor
}
public String Version()
{
return "1.4.2";
}
public String getVersion()
{
return "3.14159265";
}
}
Yeah ok thanks.
and i'm excited for upcoming Let's make a mod videos.
No it dose not help me it still says there are no more item sprites indicts left!
yeah I have done it to all my armors
I tried again and his way doesnt even work anymore for the ItemArmor(name) It can only be ItemArmor
can youpleas upload more lets make an mod ?
and doing some toturials on multiblock structures and vihicles as mayby planes or boats
(mayby parkchop likes a plane after that trail mix
Sorry for the delay guys! I will try my best to make a video today!
Sorry for the delay! I will try my best to make a video today!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIt says: Cannot find framework
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI tryed getting Techne and its not working it says : Unable to install or run this application. This application requires your system to be up dated to Microsoft Common Language Runtime Version 4.0.30319.0. Please contact you system administrator.
Help plz!
src\minecraft\net\minecraft\src\mod_NewOres.java:11: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
^
src\minecraft\net\minecraft\src\mod_NewOres.java:13: cannot find symbol
symbol : class Random
location: class net.minecraft.src.mod_NewOres
Random randomGenerator = random;
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: operator + cannot be applied to int,Random.nextInt
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:17: incompatible types
found : <nulltype>
required: int
int randPosX = chunkX + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: operator + cannot be applied to int,Random.nextInt
int randPosZ = chunkZ + randomGenerator.nextInt(16);
^
src\minecraft\net\minecraft\src\mod_NewOres.java:19: incompatible types
found : <nulltype>
required: int
int randPosZ = chunkZ + randomGenerator.nextInt(16);
public void generateSurface(World world, Random random, int chunkX, int chunkZ)
{
Random randomGenerator = random;
for (int i = 0; i < 2; i++)
{
int randPosX = chunkX + randomGenerator.nextInt(16);
int randPosY = random.nextInt(32);
int randPosZ = chunkZ + randomGenerator.nextInt(16);
(new WorldGenMinable(thalliumOre.blockID, 3)).generate(world, random, randPosX, randPosY, randPosZ);
}
}
When you hover over the code, what does it say?
You'll most likely need to re-write your mod into forge.
Zendare is now your King.
I'm using netbeans. It only says cannot find symbol. The symbols it can't find are: WorldGenMinable, Random and World.