Package net.neoforged.fml.javafmlmod
Class AutomaticEventSubscriber
java.lang.Object
net.neoforged.fml.javafmlmod.AutomaticEventSubscriber
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.objectweb.asm.Type
private static final org.apache.logging.log4j.Logger
private static final org.objectweb.asm.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumSet
<net.neoforged.api.distmarker.Dist> static void
inject
(ModContainer mod, ModFileScanData scanData, Module layer)
-
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
-
inject
-
getSides
-