Read up on events; you're going about it in the totally wrong manner. To use an event, you don't subclass Event, you just have to write an instance method to take an event as a paremeter (e.g. EntityJoinWorldEvent or MinecartCollisionEvent), add the EventHandler annotation to it, and register an instance of said class with MinecraftForge.EVENT_BUS.register. For example, this logs every time a player goes to bed:
// Just a normal Object subclass
public class MyAwesomeClass {
@SubscribeEvent
public sleepyTime(PlayerSleepInBedEvent sleepEvent) {
System.out.println("Goodnight!");
}
}
// Main mod class
@Mod( ... )
public class AwesomeMod {
// ...
@SubscribeEvent
public void init(FMLInitializationEvent) {
FMLCommonHandler.instance().bus().register(new MyAwesomeClass());
}
}
That should be enough to get you started.