Interface SkinApplyEvent
- All Superinterfaces:
org.geysermc.event.Cancellable
@Deprecated(forRemoval=true,
since="3.0.0")
public interface SkinApplyEvent
extends org.geysermc.event.Cancellable
Deprecated, for removal: This API element is subject to removal in a future version.
The Floodgate API has been deprecated in favor of the GeyserApi, which is shared between Geyser
and Floodgate
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescription@Nullable SkinApplyEvent.SkinDataDeprecated, for removal: This API element is subject to removal in a future version.Returns the skin texture currently applied to the player.@NonNull SkinApplyEvent.SkinDatanewSkin()Deprecated, for removal: This API element is subject to removal in a future version.Returns the skin texture to be applied to the player.newSkin(@NonNull SkinApplyEvent.SkinData skinData) Deprecated, for removal: This API element is subject to removal in a future version.Sets the skin texture to be applied to the player@NonNull FloodgatePlayerplayer()Deprecated, for removal: This API element is subject to removal in a future version.Returns the player that will receive the skin.Methods inherited from interface org.geysermc.event.Cancellable
cancelled, cancelled, isCancelled, setCancelled
-
Method Details
-
player
@NonNull FloodgatePlayer player()Deprecated, for removal: This API element is subject to removal in a future version.Returns the player that will receive the skin. -
currentSkin
@Nullable SkinApplyEvent.SkinData currentSkin()Deprecated, for removal: This API element is subject to removal in a future version.Returns the skin texture currently applied to the player. -
newSkin
@NonNull SkinApplyEvent.SkinData newSkin()Deprecated, for removal: This API element is subject to removal in a future version.Returns the skin texture to be applied to the player. -
newSkin
Deprecated, for removal: This API element is subject to removal in a future version.Sets the skin texture to be applied to the player- Parameters:
skinData- the skin to apply- Returns:
- this
-