Class MannequinWatcher


public class MannequinWatcher extends AvatarWatcher
  • Constructor Details

    • MannequinWatcher

      public MannequinWatcher(Disguise disguise)
  • Method Details

    • clone

      public MannequinWatcher clone(Disguise disguise)
      Overrides:
      clone in class LivingWatcher
    • onPreDisguiseStart

      protected void onPreDisguiseStart()
      Overrides:
      onPreDisguiseStart in class FlagWatcher
    • 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(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
    • getSkin

      @NotNull public @NotNull com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile getSkin()
    • setSkin

      public void setSkin(@Nullable @Nullable com.github.retrooper.packetevents.protocol.component.builtin.item.ItemProfile profile)
    • getDescription

      @Nullable public @Nullable net.kyori.adventure.text.Component getDescription()
    • setDescription

      public void setDescription(@Nullable @Nullable net.kyori.adventure.text.Component description)