public static final Item netherrackSword = new ItemSword(793, EnumToolMaterial.NETHERRACK).setItemName("ObsidianSword");
line
Try this, I don't know if it will because I am still learning Java; but it might work.
Make a new file called ItemSword.java
and put this in it:
package net.minecraft.src;
import net.minecraft.src.forge.*;
public class ItemSword;
{
public ItemSword;
{
super(i, j, k);
}
public int getDamageVsEntity(Entity entity)
{
entity.setFire(10);
return weaponDamage;
}
}
I've looked for a little while now and can't seem to find anything on how to do this.
Thanks!
Thanks, let me see if that works.
Edit: I don't have a sword class, I just use the:
line
Try this, I don't know if it will because I am still learning Java; but it might work.
Make a new file called ItemSword.java
and put this in it:
Again, I DO NOT know if this will work.
into
... Thanks guys! 1+ for you guys