Interface MessageHandler.Sided<T extends Message<? extends MessageBuffer>>

Type Parameters:
T - the type of message to handle
Enclosing interface:
MessageHandler<T extends Message<? extends MessageBuffer>>

public static interface MessageHandler.Sided<T extends Message<? extends MessageBuffer>>
A message handler that belongs to a specific side (clientbound or serverbound).
  • Method Summary

    Modifier and Type
    Method
    Description
    handle(T message)
    Handles the given message in the specified direction.
  • Method Details

    • handle

      MessageHandler.State handle(T message)
      Handles the given message in the specified direction.
      Parameters:
      message - the message to handle
      Returns:
      the state after handling the message