// begin package
package com.nutz.monstercraft.generic;
// end package
// begin imports
import net.minecraft.item.Item;
// end imports
// begin code
public class RazorSharp extends Item {
  public static Item item1
}
@EventHandler
public void preInit(FMLPreInitialization preInitEvent) {
  item1 = new GenericItem();
  GameRegistry.registerItem(item1, "item1");
}
//end code

/*
// begin package
package com.nutz.monstercraft.generic;
// end package
// begin imports
import net.minecraft.item.Item;
// end imports
// begin code
public class RazorSharp extends Item {
  public static Item item1
}
@EventHandler
public void preInit(FMLPreInitialization preInitEvent) {
  item1 = new GenericItem();
  GameRegistry.registerItem(item1, "item1");
}
//end code
*/

Update RazorSharp.java