Package net.minecraftforge.fml
Class AutomaticEventSubscriber
- java.lang.Object
-
- net.minecraftforge.fml.AutomaticEventSubscriber
-
public class AutomaticEventSubscriber extends java.lang.ObjectAutomatic eventbus subscriber - readsMod.EventBusSubscriberannotations and passes the class instances to theMod.EventBusSubscriber.Busdefined by the annotation. Defaults toMinecraftForge.EVENT_BUS
-
-
Field Summary
Fields Modifier and Type Field Description private static org.objectweb.asm.TypeAUTO_SUBSCRIBERprivate static org.apache.logging.log4j.LoggerLOGGERprivate static org.objectweb.asm.TypeMOD_TYPE
-
Constructor Summary
Constructors Constructor Description AutomaticEventSubscriber()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinject(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)
-
-