Interface HandshakeHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
This class allows you to change and/or get specific data of the Bedrock client before Floodgate
does something with this data. This means that Floodgate decrypts the data, then calls the
handshake handlers and then applies the data to the connection.
/!\ Note that this class will be called for both Java and Bedrock connections, but
/!\ Note that this class will be called for both Java and Bedrock connections, but
HandshakeData.isFloodgatePlayer() will be false and Floodgate related methods will return null
for Java players-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(HandshakeData data) Deprecated.Method that will be called during the time that Floodgate handles the handshake.
-
Method Details
-
handle
Deprecated.Method that will be called during the time that Floodgate handles the handshake.- Parameters:
data- the data usable during the handshake
-