there are two ways that method would be called for that event:
variant 1 - manual: you called addListener. see ExampleMod.java for example.
variant 2 - automagic: if a class is annotated with @Mod.EventBusSubscriber and the event is made static and annotated with @SubscribeEvent, forge will handle everything.
use variant 2, but not in main class.