Class AutomaticEventSubscriber

java.lang.Object
net.neoforged.fml.javafmlmod.AutomaticEventSubscriber

public class AutomaticEventSubscriber extends Object
Automatic eventbus subscriber - reads EventBusSubscriber annotations and passes individual Methods to the correct event bus based on whether the event type inherits from IModBusEvent.
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • AUTO_SUBSCRIBER

      private static final org.objectweb.asm.Type AUTO_SUBSCRIBER
    • MOD_TYPE

      private static final org.objectweb.asm.Type MOD_TYPE
  • Constructor Details

    • AutomaticEventSubscriber

      public AutomaticEventSubscriber()
  • Method Details