neoforged / Bus

Event firing and listening framework, based on the event bus concept
GNU Lesser General Public License v2.1
3 stars 8 forks source link

Replace ModLauncher hooks by `defineHiddenClass` and update `@SubscribeEvent` semantics #24

Closed Technici4n closed 11 months ago

Technici4n commented 11 months ago

Replaces the ModLauncher hooks by defineHiddenClass. Many thanks to @SquidDev for the idea!

Removes IEventBusInvokeDispatcher and changes IEventListener to an abstract class (EventListener) for performance reasons.

Updated @SubscribeEvent semantics

The new behavior is as follows:

Updated benchmarks

image