Package net.minecraftforge.fml
Class AutomaticEventSubscriber
- java.lang.Object
-
- net.minecraftforge.fml.AutomaticEventSubscriber
-
public class AutomaticEventSubscriber extends java.lang.Object
Automatic eventbus subscriber - readsMod.EventBusSubscriber
annotations and passes the class instances to theMod.EventBusSubscriber.Bus
defined by the annotation. Defaults toMinecraftForge.EVENT_BUS
-
-
Field Summary
Fields Modifier and Type Field Description private static org.objectweb.asm.Type
AUTO_SUBSCRIBER
private static org.apache.logging.log4j.Logger
LOGGER
private static org.objectweb.asm.Type
MOD_TYPE
-
Constructor Summary
Constructors Constructor Description AutomaticEventSubscriber()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
inject(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, java.lang.ClassLoader loader)
-
-
-
Method Detail
-
inject
public static void inject(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, java.lang.ClassLoader loader)
-
-