public class PlayerWatcher extends AvatarWatcher
  • Constructor Details

    • PlayerWatcher

      public PlayerWatcher(Disguise disguise)
  • Method Details

    • getSkinMeta

      protected MetaIndex<Byte> getSkinMeta()
      Overrides:
      getSkinMeta in class AvatarWatcher
    • getHandMeta

      protected MetaIndex<Byte> getHandMeta()
      Overrides:
      getHandMeta in class AvatarWatcher
    • getSkin

      @NotNull public @NotNull com.github.retrooper.packetevents.protocol.player.UserProfile getSkin()
    • getSkinName

      @Nullable public @Nullable String getSkinName()
      Description copied from class: AvatarWatcher
      If the skin was retrieved via a username, this is set to indicate the player used
      Specified by:
      getSkinName in class AvatarWatcher
      Returns:
      Name of player if it is relevant for skin resolution
    • setSkin

      public void setSkin(@Nullable @Nullable String playerName)
      Specified by:
      setSkin in class AvatarWatcher
    • setSkin

      public void setSkin(@Nullable @Nullable com.github.retrooper.packetevents.protocol.player.UserProfile profile)
      Specified by:
      setSkin in class AvatarWatcher
    • isDisplayedInTab

      public boolean isDisplayedInTab()
    • setDisplayedInTab

      public void setDisplayedInTab(boolean showPlayerInTab)
    • isNameVisible

      public boolean isNameVisible()
    • setNameVisible

      public void setNameVisible(boolean nameVisible)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getTablistName

      public String getTablistName()
    • setTablistName

      public void setTablistName(String tablistName)
    • clone

      public PlayerWatcher clone(Disguise disguise)
      Overrides:
      clone in class LivingWatcher
    • getRightShoulderParrot

      @Nullable public org.bukkit.entity.Parrot.Variant getRightShoulderParrot()
    • setRightShoulderParrot

      public void setRightShoulderParrot(@Nullable org.bukkit.entity.Parrot.Variant variant)
    • getLeftShoulderParrot

      @Nullable public org.bukkit.entity.Parrot.Variant getLeftShoulderParrot()
    • setLeftShoulderParrot

      public void setLeftShoulderParrot(@Nullable org.bukkit.entity.Parrot.Variant variant)
    • isRightShoulderHasParrot

      public boolean isRightShoulderHasParrot()
    • setRightShoulderHasParrot

      public void setRightShoulderHasParrot(boolean hasParrot)
    • isLeftShoulderHasParrot

      public boolean isLeftShoulderHasParrot()
    • setLeftShoulderHasParrot

      public void setLeftShoulderHasParrot(boolean hasParrot)