Interface PlayerManager


public interface PlayerManager
Player manager
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    animate(@NotNull org.bukkit.entity.Player player, @NotNull String model, @NotNull String animation)
    Deprecated, for removal: This API element is subject to removal in a future version.
    default boolean
    animate(@NotNull org.bukkit.entity.Player player, @NotNull String model, @NotNull String animation, @NotNull AnimationModifier modifier)
    Deprecated, for removal: This API element is subject to removal in a future version.
    default @Nullable ModelRenderer
    limb(@NotNull String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
    player(@NotNull UUID uuid)
    Gets player channel handler
    player(@NotNull org.bukkit.entity.Player player)
    Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)
  • Method Details

    • player

      @Nullable @Nullable PlayerChannelHandler player(@NotNull @NotNull UUID uuid)
      Gets player channel handler
      Parameters:
      uuid - player's uuid
      Returns:
      channel handler or null
    • player

      @NotNull @NotNull PlayerChannelHandler player(@NotNull @NotNull org.bukkit.entity.Player player)
      Get or creates channel handler Do not use this with fake player, instead use PlayerManager#player(UUID)
      Parameters:
      player - player
      Returns:
      channel handler
    • limb

      @Deprecated(forRemoval=true) @Nullable default @Nullable ModelRenderer limb(@NotNull @NotNull String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • animate

      @Deprecated(forRemoval=true) default boolean animate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String model, @NotNull @NotNull String animation)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • animate

      @Deprecated(forRemoval=true) default boolean animate(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String model, @NotNull @NotNull String animation, @NotNull @NotNull AnimationModifier modifier)
      Deprecated, for removal: This API element is subject to removal in a future version.