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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the skin texture currently applied to the player.
    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
    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

      SkinApplyEvent 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
      Parameters:
      skinData - the skin to apply
      Returns:
      this