main Changelog 7.0 === - 7.0.13 Replace `@Cancelable` by `ICancellableEvent` interface & related changes (#20) * Replace the annotation by an interface that brings the `isCanceled` and `setCanceled` methods in scope for cancellable events only. * Change `IEventBus#post` to return the event itself. * Remove IEventBus#shutdown and throw an exception when posting an event too early. * Replace `GenericEvent` by `Event & IGenericEvent` bound in a few places - this is necessary to ensure that the cancellation check is properly removed for non-cancellable events. * Standardize spelling to most common US english variant. I chose the most common US spelling for: `canceled` (single L), `cancellable` (double L), and `cancellation` (double L). * Importantly, this does not change `isCanceled()` and `setCanceled()`. - 7.0.12 Rework ModLauncher classloading hacks to preserve static fields between test runs (#23) Same hack as before, but using the same `TransformingClassLoader` for every test run. This preserves static fields between test runs, and thus the thread pool from one of the tests is reused... this avoids spamming our TC server with new threads until it decides to fail the run due to excessive resource allocation. - 7.0.11 Run tests when building on TeamCity (#22) - 7.0.10 Terminally deprecate generic events and @HasResult (#19) - 7.0.9 Unwrap isCanceled check for non-cancelable events (#18) - 7.0.8 Store listener lists inside the EventBus (#17) - 7.0.7 Remove now-useless class validation in tests - 7.0.6 Remove subclass transformer - 7.0.5 Change package to `net.neoforged.bus` (#15) - 7.0.4 Improve no-ASM performance (#14) - 7.0.3 Make type checking more flexible (#11) This will allow the Forge bus to reject `IModBusEvent` listeners. - 7.0.2 Remove phase tracking for Events (`getPhase` and `setPhase`) (#13) - 7.0.1 Add more overloads to IEventBus for optional addListener parameters (#8) - 7.0.0 7.0 and Neoify