but, just change the name, its pretty simple... if you dont know how to change the name, you should probably take some java tutorials, search some up on google...
sorry i had a typo i ment to say can you show me and i do not no what you mean by change name
but it'd be great if you chould just fix it for me :smile.gif:
here are the files in a spoiler
mod_GenLavaore
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaore extends WorldGenT
{
public mod_GenLavaore()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
Your tutorial on spawning entities with a redstone-powered block, it really needs to be fixed. There's no code whatsoever, and it only explains what it does.
Strength, look in your heart and let us use that code.
SEARCH DEEP INSIDE, THIS IS LITERALLY THE LAST THING I NEED FOR MY MOD
;_;
Rollback Post to RevisionRollBack
BOTTLES: First you must stand like this...
KAZOOIE: What, wearing ridiculous glasses and a silly grin?
src\minecraft\net\minecraft\src\mod_steel.java:50: cannot find symbol
symbol : constructor ItemPickaxe(int,net.minecraft.src.EnumToolMaterial2)
location: class net.minecraft.src.ItemPickaxe
public static final Item steelPick = (new ItemPickaxe(3001, EnumToolMaterial2.ST
EEL).setItemName("SteelPick"));
^
src\minecraft\net\minecraft\src\mod_steel.java:51: cannot find symbol
symbol : constructor ItemSpade(int,net.minecraft.src.EnumToolMaterial2)
location: class net.minecraft.src.ItemSpade
public static final Item steelShovel = (new ItemSpade(3002, EnumToolMaterial2.ST
EEL).setItemName("steelShovel"));
^
src\minecraft\net\minecraft\src\mod_steel.java:52: cannot find symbol
symbol : constructor ItemAxe(int,net.minecraft.src.EnumToolMaterial2)
location: class net.minecraft.src.ItemAxe
public static final Item steelAxe = (new ItemAxe(3003, EnumToolMaterial2.STEEL).
setItemName("steelAxe"));
^
src\minecraft\net\minecraft\src\mod_steel.java:53: cannot find symbol
symbol : constructor ItemHoe(int,net.minecraft.src.EnumToolMaterial2)
location: class net.minecraft.src.ItemHoe
public static final Item steelHoe = (new ItemHoe(3004, EnumToolMaterial2.STEEL).
setItemName("steelHoe"));
^
src\minecraft\net\minecraft\src\mod_steel.java:54: cannot find symbol
symbol : constructor ItemSword(int,net.minecraft.src.EnumToolMaterial2)
location: class net.minecraft.src.ItemSword
public static final Item steelSword = (new ItemSword(3005, EnumToolMaterial2.STE
EL).setItemName("steelSword"));
^
5 errors
==================
> Done in 3.95 seconds
> Recompiling server...
> Done in 3.03 seconds
Press any key to continue . . .
well, seems like you will have to copy the all of the "itemSword" and "itemHoe" just all of the tools and rename them, then you will have to rename a whole heap of things...
it might take a little while
sorry i had a typo i ment to say can you show me and i do not no what you mean by change name
but it'd be great if you chould just fix it for me :smile.gif:
here are the files in a spoiler
mod_GenLavaore
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaore extends WorldGenT
{
public mod_GenLavaore()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
Your tutorial on spawning entities with a redstone-powered block, it really needs to be fixed. There's no code whatsoever, and it only explains what it does.
Strength, look in your heart and let us use that code.
SEARCH DEEP INSIDE, THIS IS LITERALLY THE LAST THING I NEED FOR MY MOD
;_;
dont worry, i will get it fixed, 3-1 days... i just cant remember where that code was! lol..
best cry ever
"and i know.. somewhere deep down in my heart... i still want that code!"
"WWWWAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHAHAHAHHHHHHHHHHH!!!!"
Rollback Post to RevisionRollBack
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
Wait do I copy it into a new class file called enumToolMaterialCow or paste it into mod_**** and just call the enumToolMaterial, "enumToolMaterialCow" at the top?
world.entityJoinedWorld(new EntityLightningBolt(world, i, j, k));
hope that works for you :tongue.gif:
Thanks, it kind of worked.
When i did it like :
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
{
itemstack.stackSize--;
int i = 0;
int j = 0;
int k = 0;
entityplayer.heal(healAmount);
world.entityJoinedWorld(new EntityLightningBolt(world, i, j, k));
return itemstack;
}
It didn't strike lightning on player but i can hear the lightning noise and the sky effect when i right click. How could i fix this?
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaore.lavaore.blockID);
didn't you name it this?
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaore.Lavaore.blockID);
there..
ok i some how got rid of that error altho idk how but now i got this error
[spoiler]
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:25: class, interface, or enu
m expected
}→
^
1 error
==================
[/spoiler]
and heres the code that has it incase i changed somthing
[spoiler]
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
}
}
[/spoiler
hope that worked and thank you for all your help still :biggrin.gif: keep up the tutorials
Wait do I copy it into a new class file called enumToolMaterialCow or paste it into mod_**** and just call the enumToolMaterial, "enumToolMaterialCow" at the top?
you just make a new file called enumtoolmaterialcow :biggrin.gif:
ok i some how got rid of that error altho idk how but now i got this error
[spoiler]
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:25: class, interface, or enu
m expected
}→
^
1 error
==================
[/spoiler]
and heres the code that has it incase i changed somthing
[spoiler]
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
}
}
[/spoiler
hope that worked and thank you for all your help still :biggrin.gif: keep up the tutorials
ok sure, and i think you have to get rid of a curly braket, try that
ok sure, and i think you have to get rid of a curly braket, try that
ok this is anoyying -.- i got 2 errors again!!!! here they are
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:3: cannot find symbol
symbol: class BaseMod
public class mod_GenLavaOre extends BaseMod
^
src\minecraft\net\minecraft\src\WorldGenT.java:27: cannot find symbol
symbol : variable LavaOre
location: class net.minecraft.src.mod_GenLavaOre
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
^
2 errors
==================
and here are my 2 files again since they both have the error's
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
ok this is anoyying -.- i got 2 errors again!!!! here they are
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:3: cannot find symbol
symbol: class BaseMod
public class mod_GenLavaOre extends BaseMod
^
src\minecraft\net\minecraft\src\WorldGenT.java:27: cannot find symbol
symbol : variable LavaOre
location: class net.minecraft.src.mod_GenLavaOre
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
^
2 errors
==================
and here are my 2 files again since they both have the error's
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
again thank you for your help lol oh and btw do you think you can tell me how to put up direct pictures??? i cant seem to figure it out
P.S i changed the name of my stuff to LavaOre to see if it'd help so no im not spelling it wrong
Are you sure you have Mod Loader?
BaseMod is the main part of modloader, and that errors says there's no such thing as BaseMod.. so, either you don't have modloader, or you accidently re-named it.
Are you sure you have Mod Loader?
BaseMod is the main part of modloader, and that errors says there's no such thing as BaseMod.. so, either you don't have modloader, or you accidently re-named it.
im pretty sure i have modloader lol i did install before thanks for telling me what that means im going to go copy all my files and reinstall it -.-
ok this is anoyying -.- i got 2 errors again!!!! here they are
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:3: cannot find symbol
symbol: class BaseMod
public class mod_GenLavaOre extends BaseMod
^
src\minecraft\net\minecraft\src\WorldGenT.java:27: cannot find symbol
symbol : variable LavaOre
location: class net.minecraft.src.mod_GenLavaOre
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
^
2 errors
==================
and here are my 2 files again since they both have the error's
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
you just make a new file called enumtoolmaterialcow :biggrin.gif:
Thank you sir! I'm in love with these tutorials by the way, it's really hard to find an archive of modloader tutorials, plus you actually explain what you do which is great, and this has a bunch of stuff I don't see anywhere else like trampoline blocks or the different types of particle effects.
In short +1 internet for you sir, have a notch approval.
By the way, I've been getting really excited for your flaming sword tutorial, could you maybe put that before the ranged weapon one?
[Code] public void GenerateSurface(World world, Random random, int i, int j)
{
for(int k = 0; k < 0.1; k++)
{
int j1 = i + random.nextInt(16);
int i2 = random.nextInt(16);
int l2 = j + random.nextInt(16);
(new WorldGenMinable(mod_MythOre.MythOre.blockID, 1)).generate(world, random, j1, i2, l2);
}
[/Code.]
Rollback Post to RevisionRollBack
MythOre rocks. I am developing MythicalCraft. It is going to be a gigantic mod.
ok this is anoyying -.- i got 2 errors again!!!! here they are
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:3: cannot find symbol
symbol: class BaseMod
public class mod_GenLavaOre extends BaseMod
^
src\minecraft\net\minecraft\src\WorldGenT.java:27: cannot find symbol
symbol : variable LavaOre
location: class net.minecraft.src.mod_GenLavaOre
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
^
2 errors
==================
and here are my 2 files again since they both have the error's
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
Thank you sir! I'm in love with these tutorials by the way, it's really hard to find an archive of modloader tutorials, plus you actually explain what you do which is great, and this has a bunch of stuff I don't see anywhere else like trampoline blocks or the different types of particle effects.
In short +1 internet for you sir, have a notch approval.
By the way, I've been getting really excited for your flaming sword tutorial, could you maybe put that before the ranged weapon one?
well, thanks :biggrin.gif:
i will finish some more tutorials now :biggrin.gif: or atleast try, i dont have much time :tongue.gif:
[Code] public void GenerateSurface(World world, Random random, int i, int j)
{
for(int k = 0; k < 0.1; k++)
{
int j1 = i + random.nextInt(16);
int i2 = random.nextInt(16);
int l2 = j + random.nextInt(16);
(new WorldGenMinable(mod_MythOre.MythOre.blockID, 1)).generate(world, random, j1, i2, l2);
}
[/Code.]
yes, but get rid of the mod_MythOre as you are already in mod_MythOre
and whats this thing here doing???
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
sorry i had a typo i ment to say can you show me and i do not no what you mean by change name
but it'd be great if you chould just fix it for me :smile.gif:
here are the files in a spoiler
mod_GenLavaore
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaore extends WorldGenT
{
public mod_GenLavaore()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
}
WorldGenT
package net.minecraft.src;
import java.util.Random;
public class WorldGenT extends WorldGenerator
{
public WorldGenT()
{
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
if(world.getBlockId(i, j, k) != 0 || world.getBlockId(i, j + 1, k) != 0 || world.getBlockId(i + 1, j, k) != 0 || world.getBlockId(i + 1, j, k + 1) != 0 || world.getBlockId(i, j, k + 1) != 0 || world.getBlockId(i + 1, j + 1, k) != 0 || world.getBlockId(i + 1, j + 1, k + 1) != 0 || world.getBlockId(i, j + 1, k + 1) != 0)
{
return true;
}
for(int i1 = 0; i1 < 5; i1++)
{
for(int l1 = 0; l1 < 2; l1++)
{
for(int k1 = 0; k1 < 3; k1++)
{
if((i1 >= 1 && i1 <= 1) && (l1 >= 1 && l1 <= 1) && (k1 >= 1 && k1 <= 1))
{
continue;
}
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaore.lavaore.blockID);
world.setBlock(i + 5, j + -1, k + 4, 17);
}
}
}
return true;
}
}
and becuz idk if you need it
BlockLavaore
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) braces deadcode
package net.minecraft.src;
// Referenced classes of package net.minecraft.src:
// Block, Material
public class BlockLavaore extends Block
{
protected BlockLavaore(int i, int j)
{
super(i, j, Material.rock);
}
}
Strength, look in your heart and let us use that code.
SEARCH DEEP INSIDE, THIS IS LITERALLY THE LAST THING I NEED FOR MY MOD
;_;
well, seems like you will have to copy the all of the "itemSword" and "itemHoe" just all of the tools and rename them, then you will have to rename a whole heap of things...
it might take a little while
nvm i kinda messed up, your using "lavaore"
but the problem is here:
didn't you name it this?
there..
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
dont worry, i will get it fixed, 3-1 days... i just cant remember where that code was! lol..
best cry ever
"and i know.. somewhere deep down in my heart... i still want that code!"
"WWWWAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHAHAHAHHHHHHHHHHH!!!!"
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
Wait do I copy it into a new class file called enumToolMaterialCow or paste it into mod_**** and just call the enumToolMaterial, "enumToolMaterialCow" at the top?
Oppan Gangme Maybe!
Thanks, it kind of worked.
When i did it like :
It didn't strike lightning on player but i can hear the lightning noise and the sky effect when i right click. How could i fix this?
Nevermind it worked, thanks.
ok i some how got rid of that error altho idk how but now i got this error
[spoiler]
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:25: class, interface, or enu
m expected
}→
^
1 error
==================
[/spoiler]
and heres the code that has it incase i changed somthing
[spoiler]
[/spoiler
hope that worked and thank you for all your help still :biggrin.gif: keep up the tutorials
you just make a new file called enumtoolmaterialcow :biggrin.gif:
ok sure, and i think you have to get rid of a curly braket, try that
yes.
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
ok this is anoyying -.- i got 2 errors again!!!! here they are
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_GenLavaOre.java:3: cannot find symbol
symbol: class BaseMod
public class mod_GenLavaOre extends BaseMod
^
src\minecraft\net\minecraft\src\WorldGenT.java:27: cannot find symbol
symbol : variable LavaOre
location: class net.minecraft.src.mod_GenLavaOre
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
^
2 errors
==================
and here are my 2 files again since they both have the error's
package net.minecraft.src;
import java.util.Random;
public class mod_GenLavaOre extends BaseMod
{
public mod_GenLavaOre()
{
}
public String Version()
{
return "1.7.3";
}
public void GenerateSurface(World world, Random rand, int i, int j)
{
{
for(int k = 0; k <0.1; k++)
{
int RandPosX = i + rand.nextInt(16);
int RandPosY = rand.nextInt(64);
int RandPosZ = j + rand.nextInt(16);
(new WorldGenT()).generate(world, rand, RandPosX, RandPosY, RandPosZ);
}
}
}
}
package net.minecraft.src;
import java.util.Random;
public class WorldGenT extends WorldGenerator
{
public WorldGenT()
{
}
public boolean generate(World world, Random rand, int i, int j, int k)
{
if(world.getBlockId(i, j, k) != 0 || world.getBlockId(i, j + 1, k) != 0 || world.getBlockId(i + 1, j, k) != 0 || world.getBlockId(i + 1, j, k + 1) != 0 || world.getBlockId(i, j, k + 1) != 0 || world.getBlockId(i + 1, j + 1, k) != 0 || world.getBlockId(i + 1, j + 1, k + 1) != 0 || world.getBlockId(i, j + 1, k + 1) != 0)
{
return true;
}
for(int i1 = 0; i1 < 5; i1++)
{
for(int l1 = 0; l1 < 2; l1++)
{
for(int k1 = 0; k1 < 3; k1++)
{
if((i1 >= 1 && i1 <= 1) && (l1 >= 1 && l1 <= 1) && (k1 >= 1 && k1 <= 1))
{
continue;
}
world.setBlock(i + i1, j + l1, k + k1, mod_GenLavaOre.LavaOre.blockID);
world.setBlock(i + 5, j + -1, k + 4, 17);
}
}
}
return true;
}
}
again thank you for your help lol oh and btw do you think you can tell me how to put up direct pictures??? i cant seem to figure it out
P.S i changed the name of my stuff to LavaOre to see if it'd help so no im not spelling it wrong
Are you sure you have Mod Loader?
BaseMod is the main part of modloader, and that errors says there's no such thing as BaseMod.. so, either you don't have modloader, or you accidently re-named it.
im pretty sure i have modloader lol i did install before thanks for telling me what that means im going to go copy all my files and reinstall it -.-
ok ignore the basemod 1 i got rid of that error stupid modloader never installed right before but i still have my other error
Thank you sir! I'm in love with these tutorials by the way, it's really hard to find an archive of modloader tutorials, plus you actually explain what you do which is great, and this has a bunch of stuff I don't see anywhere else like trampoline blocks or the different types of particle effects.
In short +1 internet for you sir, have a notch approval.
By the way, I've been getting really excited for your flaming sword tutorial, could you maybe put that before the ranged weapon one?
Oppan Gangme Maybe!
[Code] public void GenerateSurface(World world, Random random, int i, int j)
{
for(int k = 0; k < 0.1; k++)
{
int j1 = i + random.nextInt(16);
int i2 = random.nextInt(16);
int l2 = j + random.nextInt(16);
(new WorldGenMinable(mod_MythOre.MythOre.blockID, 1)).generate(world, random, j1, i2, l2);
}
[/Code.]
yup i think your code is possible
link: The Dragon Ball Mod Alpha 1.1
ok, after a bit of thinking, i realised, that you have to put the ID there, instead of the name, so, like 200 :tongue.gif:
well, thanks :biggrin.gif:
i will finish some more tutorials now :biggrin.gif: or atleast try, i dont have much time :tongue.gif:
yes, but get rid of the mod_MythOre as you are already in mod_MythOre
cool :biggrin.gif:
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
ahh silly me, didn't see this here!
well, its pretty simple, so i will update the tutorial to show you in a second :biggrin.gif:
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3