public interface SkinApplyEvent
extends org.geysermc.event.Cancellable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
SkinApplyEvent.SkinData |
| Modifier and Type | Method and Description |
|---|---|
@Nullable SkinApplyEvent.SkinData |
currentSkin()
Returns the skin texture currently applied to the player.
|
@NonNull SkinApplyEvent.SkinData |
newSkin()
Returns the skin texture to be applied to the player.
|
SkinApplyEvent |
newSkin(@NonNull SkinApplyEvent.SkinData skinData)
Sets the skin texture to be applied to the player
|
@NonNull FloodgatePlayer |
player()
Returns the player that will receive the skin.
|
@NonNull FloodgatePlayer player()
@Nullable SkinApplyEvent.SkinData currentSkin()
@NonNull SkinApplyEvent.SkinData newSkin()
SkinApplyEvent newSkin(@NonNull SkinApplyEvent.SkinData skinData)
skinData - the skin to apply