Ok, I changed to this:
@EventHandler
public void init(FMLInitializationEvent event){
RC.addRecipeToGame();
FMLCommonHandler.instance().bus().register(new ContactMobs());
}
public class ContactMobs {
public void onPlayerTick(PlayerTickEvent event){
System.out.println("Info: Debugging XP Mod");
if(Minecraft.getMinecraft().thePlayer.isBurning()){
Minecraft.getMinecraft().thePlayer.experienceLevel++;
}
}
}
It has no errors, but I cannot see the println in the console of Eclipse neither the experienceLevel raising up... Am I forgetting someting?