Jump to content

Recommended Posts

Posted (edited)
1 hour ago, Budschie said:

I always wondered why there are two seperate event busses.

Do they have any purpose?

They serve different purposes:

The MOD bus is for lifecycle events (registry events, etc) and the FORGE bus is for gameplay events.

They are separate because they are separate classifications of events.

Edited by Draco18s

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

Hi

In addition to what Draco said:

I think the difference arises when more than one mod is installed.

Each mod gets its own MOD bus to deal with its own lifecycle events during startup+initialisation

All mods share the same FORGE bus for gameplay events

I guess the reason is to better control the order that the events are called in for different mods.  No idea why that would be important.

 

-TGG

 

  • Like 1
Posted
6 hours ago, TheGreyGhost said:

I guess the reason is to better control the order that the events are called in for different mods.  No idea why that would be important.

Because mod loading is threaded.

  • Thanks 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.