package net.minecraft.src;
import java.util.Random;
public class hellstone_ore extends Block
{
public Blockhellstone_ore(int i, int j)
{
super(i, j, Material.stone);
}
public int idDropped(int i, Random random)
{
return mod_hellstone_ore.hellstone_ore.blockID;
}
public int quantityDropped(Random random)
{
return 1;
}
}
mod_hellstone.java
package net.minecraft.src;
public class mod_hellstone extends BaseMod
{
public static Block hellstone_ore;
public String Version()
{
return "1.0.0 - Frogbite99 Tutorials";
}
public mod_hellstone()
{
ModLoader.RegisterBlock(hellstone_ore);
hellstone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "\joshey`s_mods\testmods\hellstone\hellstone-ore.png");
ModLoader.AddName(hellstone_ore, "hellstone_ore");
}
static
{
new Blockhellstone_ore(255, 0).setHardness(3.0F).setResistance(5.0F).setLightValue(0.0F).setBlockName("hellstone_ore");
}
}
It is a hard time for me to mod for 1.0.0
much code has been changed
i can't really figured out the enum tool material code as it was the one which keep giving me out problem
To those with Modloader question - you need to restart everything including your mods. I am sorry there is quite some errors with Modloader so it is hard to fix these multiple errors.
To those saying "screw you notch" - I am sorry I will not accept that on my tutorial page. In fact it is not notch's fault. Modding support will be added soon, just whenever notch fixes everything that needs to be fixed.
Back to what I need to say
Please Pm your questions to me. Seeing it is hard looking at multiple questions. If you wish to have to question answered private message me.
Yes I do. Do you want me to do tutorials on those?
Of course :smile.gif:
And also the iron bar (the one newly updated during 1.8)
If you know how to make a bucket it would be nice because i dont find any tutorial on this
I want those because of my upcoming third mod :smile.gif:
When I tried to make a new block in 1.0.0, I recompiled it, and it threw 100 errors! I don't think any of them had to do with my mod, but I don't know what to do! Can anyone help?
Rollback Post to RevisionRollBack
"To know who you are without any delusions or sympathy is a moment of revelation that no one experiences unscathed." -Christopher Paolini
"Xezio_" Pm me your code and I'll teach you how
"CNSoup" Pm me your code and We will see what's going on with the errors
"XDarkBoy" I will start those tutorials once I find away around the Modloader error(s). I will work on them but I will not post any tutorials till I find out they work. But you can count on those tutorials being added.
"Xezio_" Pm me your code and I'll teach you how
"CNSoup" Pm me your code and We will see what's going on with the errors
"XDarkBoy" I will start those tutorials once I find away around the Modloader error(s). I will work on them but I will not post any tutorials till I find out they work. But you can count on those tutorials being added.
Hm....oh ok
what modloader error?
i may help u :smile.gif:
i have done research of some of the mod code and tried to figure out my own mod error
and it work,finally,i spended almost whole day remaking a new mod
when i make a new block and tried to run it on eclipse, it giving me error on too many item. i think it BREAK 89 MISSING or something like that. anyone gets any error like this???
when i make a new block and tried to run it on eclipse, it giving me error on too many item. i think it BREAK 89 MISSING or something like that. anyone gets any error like this???
Check your minecraft.jar in ur jars folder
ONLY install Modloader in the jar
beside that you nid to delete
It seems like you have install TMI in too
In 1.0.0, how would I make a generated ore drop an item I made? I can't seem to figure this out. I have been trying for 30mins!
Give me your Block(whatever).java code in a "code"
Also look at "BlockOres.java"
and also this is what it should look like.
public int idDropped(int i, Random random, int j)
{
if(blockID == mod_SapphireOre.SapphireOre.blockID)
{
return mod_SapphireOre.SapphireOre.blockID;
}
}
It Should.
much code has been changed
i can't really figured out the enum tool material code as it was the one which keep giving me out problem
Just feeling generous
EDIT:I actually tried it and now my mod is stuck again :wacko.gif:
Screw you Notch and your complicate-the-codeness.
and
Izago:I agree with u,SCREW u notch,u made the code complicated
it won`t get past reconpile is it just it dous not know about modloader
To those saying "screw you notch" - I am sorry I will not accept that on my tutorial page. In fact it is not notch's fault. Modding support will be added soon, just whenever notch fixes everything that needs to be fixed.
Back to what I need to say
Please Pm your questions to me. Seeing it is hard looking at multiple questions. If you wish to have to question answered private message me.
Yes I do. Do you want me to do tutorials on those?
Of course :smile.gif:
And also the iron bar (the one newly updated during 1.8)
If you know how to make a bucket it would be nice because i dont find any tutorial on this
I want those because of my upcoming third mod :smile.gif:
"CNSoup" Pm me your code and We will see what's going on with the errors
"XDarkBoy" I will start those tutorials once I find away around the Modloader error(s). I will work on them but I will not post any tutorials till I find out they work. But you can count on those tutorials being added.
Hm....oh ok
what modloader error?
i may help u :smile.gif:
i have done research of some of the mod code and tried to figure out my own mod error
and it work,finally,i spended almost whole day remaking a new mod
This is for those who still dont know how to fix the problem
right after where you put some of the main details in.
http://www.minecraftforum.net/topic/832870-example-of-working-code-for-100/
I think u hasnt change ur code to 1.0.0
Check out my thread or post above
Check your minecraft.jar in ur jars folder
ONLY install Modloader in the jar
beside that you nid to delete
It seems like you have install TMI in too
Give me your Block(whatever).java code in a "code"
Also look at "BlockOres.java"
and also this is what it should look like.