hey! im new at modding minecraft, and tried to make a simple mod that adds the item tar to the game.
i have a few questions that i hope somebody might be able to answer.
first off, can you help me troubleshoot? this is what i have so far,
public String Version()
{
return "1.4_01";
}
package net.minecraft.src;
public class mod_tarItem extends BaseMod{
public mod_tarItem()
{
ModLoader.AddName(tarItem, "Tar");
}
public static final Item tarItem;
static
{
tarItem = (new ItemTar(4001, 0)).setIconIndex(ModLoader.addOverride("/gui/items.png", "/gui/Tar.png")).setItemName("tarItem");
}
}
the error log while trying to compile is here
[parsing started sources\minecraft\net\minecraft\src\mod_Tar.java]
sources\minecraft\net\minecraft\src\mod_Tar.java:1: class, interface, or enum expected
public String Version()
^
sources\minecraft\net\minecraft\src\mod_Tar.java:4: class, interface, or enum expected
}
^
[parsing completed 16ms]
can somebody help me?
some of the other things i would like to know is how i would make something like a bucket, so that when you craft with it, it leaves an empty of the object behind.
one of the things i would like to do is put the tar in a bucket. is it any harder than making an item?
this mod is perty sweet! you should make some more mods cause so far ur doing perty good!
Thanks! I definitely will try creating other mods :>
Quote from zombych »
I like the mod but it really just needs a couple options for the GUIAPI.
like, vertical and horizontal speed, and particle amount.
really the best use for this is a chimney, as a smoke signal, and it works great with the redstone.
if only it flew higher like in the video...and more particles.
is there any way you can mod the view distance for this smoke? if you haven't tested, you can't stand more than 10(fast) or 20(fancy) blocks away until they disappear...
I'm thinking more like 200-500, maybe that should be another option in the GUIAPI if you figure out how to do it.
good luck, I'd love to use this mod for every house I ever build!
Thanks again! I hope guiapi Isn't too hard to use, because I'm probably going to use it when I figure it out...
Heyy. You should make it puff a costom smoky-cloud looking puff that doesnt fly all the way to the skies, but stop around 2 blocks over it and stays there for 3 seconds or something! It would've been a nice decoration for houses.
Nice idea, but that would involve creating a new particle probably. I havn't tried that yet.
0
I'm glad you like it! :biggrin.gif:
0
0
i have a few questions that i hope somebody might be able to answer.
first off, can you help me troubleshoot? this is what i have so far,
the error log while trying to compile is here
can somebody help me?
some of the other things i would like to know is how i would make something like a bucket, so that when you craft with it, it leaves an empty of the object behind.
one of the things i would like to do is put the tar in a bucket. is it any harder than making an item?
0
You know, that's a really good idea! :biggrin.gif:
0
0
Thanks! I definitely will try creating other mods :>
Thanks again! I hope guiapi Isn't too hard to use, because I'm probably going to use it when I figure it out...
0
0
Nice idea, but that would involve creating a new particle probably. I havn't tried that yet.
0
Thanks for the comment! And I'm glad you like the mod :biggrin.gif:!
Maybe someone could use this in their custom map. I would be honored if someone did that! :biggrin.gif:
0
0
0
0
0
0