Interface NativeEventWrapper


public interface NativeEventWrapper
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static void
    onEvent(dev.latvian.mods.rhino.Context cx, Class<?> eventClass, Consumer<net.neoforged.bus.api.Event> consumer)
     
    static void
    onEvent(dev.latvian.mods.rhino.Context cx, net.neoforged.bus.api.EventPriority priority, Class<?> eventClass, Consumer<net.neoforged.bus.api.Event> consumer)
     
  • Method Details

    • onEvent

      static void onEvent(dev.latvian.mods.rhino.Context cx, Class<?> eventClass, Consumer<net.neoforged.bus.api.Event> consumer)
    • onEvent

      static void onEvent(dev.latvian.mods.rhino.Context cx, net.neoforged.bus.api.EventPriority priority, Class<?> eventClass, Consumer<net.neoforged.bus.api.Event> consumer)