@Retention(value=RUNTIME)
@Target(value=TYPE)
public static @interface Mod.EventBusSubscriber
MinecraftForge.EVENT_BUS
on both sides.修飾子とタイプ | 任意要素と説明 |
---|---|
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.
|
Dist[] |
value
Specify targets to load this event subscriber on.
|
public abstract Dist[] value
public abstract java.lang.String modid
public abstract Mod.EventBusSubscriber.Bus bus