Package net.minestom.server.event.player
Class PlayerSkinInitEvent
java.lang.Object
net.minestom.server.event.Event
net.minestom.server.event.player.PlayerSkinInitEvent
public class PlayerSkinInitEvent extends Event
Called at the player connection to initialize his skin.
-
Constructor Summary
Constructors Constructor Description PlayerSkinInitEvent(Player player, PlayerSkin currentSkin)
-
Method Summary
Modifier and Type Method Description Player
getPlayer()
Gets the player whose the skin is getting initialized.PlayerSkin
getSkin()
Gets the spawning skin of the player.void
setSkin(PlayerSkin skin)
Sets the spawning skin of the player.