orbit icon indicating copy to clipboard operation
orbit copied to clipboard

Extremely fast event system.

Results 3 orbit issues
Sort by recently updated
recently updated
newest added

``` [09:10:42] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.2 [09:10:42] [main/INFO]: Loading 57 mods: - fabric-api 0.95.3+1.20.4 |-- fabric-api-base 0.4.36+78d798af4f |-- fabric-api-lookup-api-v1 1.6.48+82b1bb3e4f |-- fabric-biome-api-v1 13.0.16+78d798af4f |-- fabric-block-api-v1 1.0.16+3e2216cb4f...

Subscribing an object to an [EventBus](https://github.com/MeteorDevelopment/orbit/blob/master/src/main/java/meteordevelopment/orbit/EventBus.java) via `EventBus.subscribe(Object)` adds said object and it's associated listeners to the `listenerCache` during the `getListeners` call. This map is never shrunk/cleared, resulting in said...

Generic events would be really useful for avoiding repetitive if conditions at the beginning of an event handler, thus improving readability. A possible solution for this problem is a new...