subscribe
Subscribe an object to the event bus, turning methods defined in it into listeners using @SubscribeEvent.
Parameters
obj
The object to subscribe.
See also
Subscribe a listener to the event bus.
Parameters
event
The class of the event to subscribe to.
handler
The Consumer to handle that event.