Package net.neoforged.bus.api


package net.neoforged.bus.api
  • Class
    Description
    Build a bus
    Base Event class that all other events are derived from.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use a custom type and custom methods appropriate for your event, instead of the overly general Event.Result enum.
     
    Event listeners are wrapped with implementations of this class.
    Different priorities for Event listeners.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use non-generic events instead, or another system.
    Interface for events that can be canceled.
    EventBus API.
     
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use non-generic events instead, or another system.
    Annotation to subscribe a method to an Event This annotation can only be applied to single parameter methods, where the single parameter is a subclass of Event.