Class BasicQueryEvent

java.lang.Object
net.minestom.server.extras.query.event.QueryEvent<BasicQueryResponse>
net.minestom.server.extras.query.event.BasicQueryEvent
All Implemented Interfaces:
Event, CancellableEvent

public class BasicQueryEvent extends QueryEvent<BasicQueryResponse>
An event called when a basic query is received and ready to be responded to.
  • Constructor Details

    • BasicQueryEvent

      public BasicQueryEvent(@NotNull @NotNull SocketAddress sender, int sessionID)
      Creates a new basic query event.
      Parameters:
      sender - the sender
      sessionID - the session ID