@Retention(value=RUNTIME)
@Target(value=TYPE)
public static @interface Mod.EventBusSubscriber
MinecraftForge.EVENT_BUS
on both sides.Mod.EventBusSubscriber.Bus
Modifier and Type | Optional Element and Description |
---|---|
Mod.EventBusSubscriber.Bus |
bus
Specify an alternative bus to listen to
|
java.lang.String |
modid
Optional value, only necessary if this annotation is not on the same class that has a @Mod annotation.
|
net.minecraftforge.api.distmarker.Dist[] |
value
Specify targets to load this event subscriber on.
|
public abstract net.minecraftforge.api.distmarker.Dist[] value
public abstract java.lang.String modid
public abstract Mod.EventBusSubscriber.Bus bus