public static interface ClientConnectionEvent.Login extends ClientConnectionEvent, MessageSinkEvent, Cancellable
ClientConnectionEvent.Auth, ClientConnectionEvent.Disconnect, ClientConnectionEvent.Join, ClientConnectionEvent.Login
MessageSinkEvent.Chat
Modifier and Type | Method and Description |
---|---|
RemoteConnection |
getConnection()
Gets the
RemoteConnection representing the client connection. |
Transform<World> |
getFromTransform()
Gets the transform that the
Player came from. |
GameProfile |
getProfile()
Gets the profile of the client attempting to connect.
|
Transform<World> |
getToTransform()
Gets the new transform that the
Player will change to. |
void |
setToTransform(Transform<World> transform)
Sets the new transform that the
Player will change to. |
getOriginalSink, getSink, setSink
getMessage, getOriginalMessage, setMessage
isCancelled, setCancelled
getCause
RemoteConnection getConnection()
RemoteConnection
representing the client connection.GameProfile getProfile()
Transform<World> getFromTransform()
Player
came from.Transform<World> getToTransform()
Player
will change to.