code: public <T extends FMLEvent> void registerCallback(Class<T> clazz, IFMLEventCallback<T> consumer)
  	{
  		super.registerCallback(consumer, CallbackOption.of((FMLEventPredicate<T>) clazz::isInstance));
  	}
docs: Registers a {@link IFMLEventCallback} that will be called when MalisisCore will reach the specified {@link FMLEvent}.<br>
  Note that the callbacks are propcessed during MalisisCore events and not the child mods.
  
  @param <T> the generic type
  @param clazz the clazz
  @param consumer the consumer