public class AutomaticEventSubscriber
extends java.lang.Object
Mod.EventBusSubscriber
annotations and passes the class instances to the Mod.EventBusSubscriber.Bus
defined by the annotation. Defaults to MinecraftForge.EVENT_BUS
Modifier and Type | Field and 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 and Description |
---|
AutomaticEventSubscriber() |
Modifier and Type | Method and Description |
---|---|
static void |
inject(ModContainer mod,
net.minecraftforge.forgespi.language.ModFileScanData scanData,
java.lang.ClassLoader loader) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final org.objectweb.asm.Type AUTO_SUBSCRIBER
private static final org.objectweb.asm.Type MOD_TYPE
public static void inject(ModContainer mod, net.minecraftforge.forgespi.language.ModFileScanData scanData, java.lang.ClassLoader loader)