Ok so i did 2 things, i extracted the zip file(my dad said too and hes a pc geek so :L and that came with the same error, i put the folder and classes in the minecraft.jar, same error(STUPID ERRORS!) so idk
I changed the file after..it was... recompiled, so maybe thats it? I need to edit it then recompile, wait do i have to reobfuscate it after the recompile?
OMG IT WORKED! I feel so accomplished! Well 1 problem, on the creative menu the ore isnt there and at bedrock level the ore didnt spawn but the ingot is there. It was a fresh 1.2.5(with Modloader only) so IDK WHATS GOIN ON! Sorry, i wanted it too work sooooo badly
OMG IT WORKED! I feel so accomplished! Well 1 problem, on the creative menu the ore isnt there and at bedrock level the ore didnt spawn but the ingot is there. It was a fresh 1.2.5(with Modloader only) so IDK WHATS GOIN ON! Sorry, i wanted it too work sooooo badly
Creative: insert this into your block.java file, not sure if it works outside of Forge
public void addCreativeItems(ArrayList itemList)
{
itemList.add(new ItemStack(this));
}
== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac" -Xlint:-options -deprecation -g -source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_Bedrock_Ore.java:27: error: cannot find symbol
public void addCreativeItems(ArrayList itemList)
^
symbol: class ArrayList
location: class mod_Bedrock_Ore
src\minecraft\net\minecraft\src\mod_Bedrock_Ore.java:29: error: no suitable constructor found for ItemStack(mod_Bedrock_Ore)
itemList.add(new ItemStack(this));
^
constructor ItemStack.ItemStack() is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(int,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item) is not applicable
(actual argument mod_Bedrock_Ore cannot be converted to Item by method invocation conversion)
constructor ItemStack.ItemStack(Block,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Block,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Block) is not applicable
(actual argument mod_Bedrock_Ore cannot be converted to Block by method invocation conversion)
2 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
Sorta different from what it has been so i kinda confused again(im so dumb :P)
And no ones gonna post again on this Well if anyone is gonna look at this, i got the ore spawning in about a 6-15 vein But whatever. My intention was for it to spawn like the IC2 uranium does, in 1 or 2 and almost very far apart but o well. Should i post it in the WIP mods section? or just the regular section?
If you have bigger ideas for the mod then i'd suggest WIP section otherwise if you think it is finished then Mods section.
As to the spawning issue i'd suggest making a new thread on it, most people seem to think a thread is solved if it has a high number of replies =p
If he wants to make it spawn at layer 2 he'll need to make a new WorldGenMinable clone file that replaces bedrock instead of stone, since most of the blocks in layer 2 will be bedrock.
If he wants to make it spawn at layer 2 he'll need to make a new WorldGenMinable clone file that replaces bedrock instead of stone, since most of the blocks in layer 2 will be bedrock.
How the fudge do i do that?! Anyway, if your unfamiliar with IC2 uranium spawning, it spawns in veins of 1 or 2 and is very rare(rarer than diamond) right now, its about a 6-15 vein, and i want it above layer 2, like layer 7 or soo.
How the fudge do i do that?! Anyway, if your unfamiliar with IC2 uranium spawning, it spawns in veins of 1 or 2 and is very rare(rarer than diamond) right now, its about a 6-15 vein, and i want it above layer 2, like layer 7 or soo.
Basically you make a copy file of WorldGenMinable (you'll want to use a different name, say WorldGenBedrock), then in the one place where it says "stone.blockID" you change this to "bedrock.blockID"
Then in the generateSurface() method in your mod_ file to use your new copy of WorldGenMinable
Creative: insert this into your block.java file, not sure if it works outside of Forge
Use mediafire, copy the link, convert it to adf.ly, start a post (include pics), and post the link.
And the ore didnt spawn at all, soooooo, im stumped
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, param csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac" -Xlint:-options -deprecation -g -source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_Bedrock_Ore.java:27: error: cannot find symbol
public void addCreativeItems(ArrayList itemList)
^
symbol: class ArrayList
location: class mod_Bedrock_Ore
src\minecraft\net\minecraft\src\mod_Bedrock_Ore.java:29: error: no suitable constructor found for ItemStack(mod_Bedrock_Ore)
itemList.add(new ItemStack(this));
^
constructor ItemStack.ItemStack() is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(int,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Item) is not applicable
(actual argument mod_Bedrock_Ore cannot be converted to Item by method invocation conversion)
constructor ItemStack.ItemStack(Block,int,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Block,int) is not applicable
(actual and formal argument lists differ in length)
constructor ItemStack.ItemStack(Block) is not applicable
(actual argument mod_Bedrock_Ore cannot be converted to Block by method invocation conversion)
2 errors
==================
!! Can not find server sources, try decompiling !!
Press any key to continue . . .
If he wants to make it spawn at layer 2 he'll need to make a new WorldGenMinable clone file that replaces bedrock instead of stone, since most of the blocks in layer 2 will be bedrock.
How the fudge do i do that?! Anyway, if your unfamiliar with IC2 uranium spawning, it spawns in veins of 1 or 2 and is very rare(rarer than diamond) right now, its about a 6-15 vein, and i want it above layer 2, like layer 7 or soo.
Basically you make a copy file of WorldGenMinable (you'll want to use a different name, say WorldGenBedrock), then in the one place where it says "stone.blockID" you change this to "bedrock.blockID"
Then in the generateSurface() method in your mod_ file to use your new copy of WorldGenMinable
He's not modding a base class, genius. And I don't think he seeks your (or anyone else's, for that matter) approval. But thanks anyways.
(click the link)
page for the mod, Speed i figured you'd want to test it considering your help with the code but if u cant/dont want to, fine by me