Skip navigation links
  • Module
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Annotation Interfaces
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    net.neoforged.bus.api.Event.HasResult
    Use a custom type and custom methods appropriate for your event, instead of the overly general Event.Result enum. Event.getResult() and Event.setResult(Result) will be removed in a future version.
    net.neoforged.bus.api.GenericEvent
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, boolean, Class<T>, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, boolean, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IGenericEvent
    Use non-generic events instead, or another system.
  • Deprecated Interfaces
    Interface
    Description
    net.neoforged.bus.api.IGenericEvent
    Use non-generic events instead, or another system.
  • Deprecated Classes
    Class
    Description
    net.neoforged.bus.api.GenericEvent
    Use non-generic events instead, or another system.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    net.neoforged.bus.api.Event.HasResult
    Use a custom type and custom methods appropriate for your event, instead of the overly general Event.Result enum. Event.getResult() and Event.setResult(Result) will be removed in a future version.
  • Deprecated Methods
    Method
    Description
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, boolean, Class<T>, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, boolean, Consumer<T>)
    Use non-generic events instead, or another system.
    net.neoforged.bus.api.IEventBus.addGenericListener(Class<F>, EventPriority, Consumer<T>)
    Use non-generic events instead, or another system.