Class MinestomEvent<T extends net.minestom.server.event.Event>

java.lang.Object
me.hsgamer.hscore.minestom.gui.event.MinestomEvent<T>
Type Parameters:
T - the type of the Minestom event
Direct Known Subclasses:
MinestomClickEvent, MinestomCloseEvent, MinestomOpenEvent

public class MinestomEvent<T extends net.minestom.server.event.Event> extends Object
The base event for Minestom
  • Field Details

    • event

      protected final T extends net.minestom.server.event.Event event
  • Constructor Details

    • MinestomEvent

      public MinestomEvent(T event)
      Create a new event
      Parameters:
      event - the Minestom event
  • Method Details

    • getEvent

      public T getEvent()
      Get the event
      Returns:
      the Minestom event