Bonjour, j'ai un problème pour la compilation de mon Mod, j'ai une erreur :
Cannot find symbol
Symbol : constructor ItemCanabis(int)
Voici un screen, et mes sources codes :

Source de mod_canabis.java :
Source de ItemCanabis.java :
Voilà, Merci à celui, ou celle qui m'aideras
Cannot find symbol
Symbol : constructor ItemCanabis(int)
Voici un screen, et mes sources codes :

Source de mod_canabis.java :
PHP:
package net.minecraft.src;
import java.util.Map;
public class mod_canabis extends BaseMod
{
public mod_canabis()
{
ItemCanabis = (new ItemCanabis(8963)).setIconCoord(1, 1).setItemName("ItemCanabis");
ModLoader.AddName(ItemCanabis,"Canabis");
ModLoader.AddRecipe(new ItemStack(ItemCanabis, 1), new Object[]
{"#",Character.valueOf('#'), Item.stick});
}
public String Version()
{
return "canabis 1.0";
}
public static Item ItemCanabis;
}
Source de ItemCanabis.java :
PHP:
package net.minecraft.src;
public class ItemCanabis extends Item
{
private int healAmount;
public ItemCanabis (int i, int j)
{
super(i);
healAmount = j;
maxStackSize = 1;
}
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
{
itemstack.stackSize--;
entityplayer.heal(healAmount);
return itemstack;
}
}
Voilà, Merci à celui, ou celle qui m'aideras
