I'm trying to run this on 1.7.10 Minecraft/ 1.7.10 Forge, in the Eclipse IDE. The mod doesn't run, generates the error TEST1 TEST2 disabled.
This is the source code:
package com.matthew.newmod;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
@Mod(modid = tutorial.MODID, version = tutorial.VERSION)
public class tutorial
{
public static final String MODID = "new mod";
public static final String VERSION = "1.0";
@EventHandler
public void init(FMLPreInitializationEvent event)
{
GameRegistry.addRecipe(new ItemStack(Blocks.diamond_ore), new Object[] {
"AAA",
"AAA",
"AAA",
'A', Items.stick
});
}
}