- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used when you want to provide your own player object instead of using the default one.
Sets with ConnectionManager.setPlayerProvider(PlayerProvider)
.
-
Method Summary
Modifier and TypeMethodDescriptioncreatePlayer
(PlayerConnection connection, GameProfile gameProfile) Creates a newPlayer
object based on his connection data.