Replies: 1 comment
-
if (Loader.isModLoaded("modid")) {
MinecraftForge.EVENT_BUS.register(...);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SeraphJACK
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
作为一个mod的可选功能, 当某另一个mod也存在的时候, 才会启用功能. 这个功能被放到一个class里了, 此class内还有@SubscribeEvent用于订阅forge/另一个mod的事件.
Beta Was this translation helpful? Give feedback.
All reactions