SpongeForge icon indicating copy to clipboard operation
SpongeForge copied to clipboard

Can't get a channel registered by mod

Open SettingDust opened this issue 5 years ago • 0 comments

I am currently running

  • SpongeForge version: spongeforge-1.12.2-2838-7.3.0
  • Forge version: forge-1.12.2-14.23.5.2847-universal
  • Java version: 1.8 242
  • Operating System: Windows 10 20H2 19042.546

Issue Description I can't get the mod channel by Soonge API. So, I can't listen to the mod messages. And there isn't a event to do this like Bukkit.

Is it a bug? Or design? Am I haven to import the mod and forge as dependencies to get the channel?

https://github.com/SpongePowered/SpongeForge/blob/stable-7/src/main/java/org/spongepowered/mod/networIk/SpongeModChannelBinding.java#L52

https://forums.spongepowered.org/t/how-to-get-a-channel-registered-by-forge-mod/37998

SettingDust avatar Oct 08 '20 04:10 SettingDust