批注接口 OnInit
Annotate a static method accepting exactly one parameter of MutableTestFramework (or parent interfaces) to
register that method as an on-init listener, which will be called in
MutableTestFramework.init(IEventBus, ModContainer)
.
The time when it will be called depends on the stage given as an annotation parameter.-
嵌套类概要
嵌套类 -
可选元素概要
可选元素
-
元素详细资料
-
value
OnInit.Stage value返回 the stage during which to run this listener。- 返回:
- the stage during which to run this listener
- 默认值:
BEFORE_SETUP
-