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 TypeMethodDescriptionHandles the given message in the specified direction.
-
Method Details
-
handle
Handles the given message in the specified direction.- Parameters:
message- the message to handle- Returns:
- the state after handling the message
-