Class AutomaticEventSubscriber
java.lang.Object
net.minecraftforge.fml.javafmlmod.AutomaticEventSubscriber
Automatic eventbus subscriber - reads
Mod.EventBusSubscriber
annotations and passes the class instances to the Mod.EventBusSubscriber.Bus
defined by the annotation. Defaults to MinecraftForge#EVENT_BUS
-
Field Summary
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
inject
(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, ClassLoader loader)
-
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
public static void inject(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, ClassLoader loader)
-