hi,
the smelting handler is called when i get the item out of the furnace, not when its smelted (and get out with a redpower2 transposer or similiar things).
Is there a way to fix this?
(The code i use so far:
public class CraftingHandler implements ICraftingHandler {
@Override
public void onCrafting(EntityPlayer player, ItemStack item,
IInventory craftMatrix) {
System.out.println("Crafting " + item.getDisplayName());
}
@Override
public void onSmelting(EntityPlayer player, ItemStack item) {
System.out.println("Smelting " + item.getDisplayName());
}
}
and
GameRegistry.registerCraftingHandler(new CraftingHandler());
to register the event.)
- Ahsous