@‘Phenix246’:
public Item getItemDropped(int metadata, Random rand, int fortune) { return metadata == 1 ? Monmod.Item1 : Item.getItemFromBlock(this); } public int damageDropped(int metadata) { return metadata == 1 ? "damage" : 1; } public int quantityDropped(int metadata, int fortune, Random par3Random) { return "nombre d'items" }
Je te donne en plus deux autre méthode dont tu peux avoir besoin (la damage de l’item que tu drop et la quantité dropé)
Merci encore pour toute ton aide !