Class WrapperPlayServerPlayerInfoUpdate.PlayerInfo

java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerPlayerInfoUpdate.PlayerInfo
Enclosing class:
WrapperPlayServerPlayerInfoUpdate

public static class WrapperPlayServerPlayerInfoUpdate.PlayerInfo extends Object
  • Constructor Details

    • PlayerInfo

      public PlayerInfo(UUID profileId)
    • PlayerInfo

      public PlayerInfo(UserProfile profile)
    • PlayerInfo

      public PlayerInfo(UserProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable RemoteChatSession chatSession)
    • PlayerInfo

      public PlayerInfo(UserProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable RemoteChatSession chatSession, int listOrder)
    • PlayerInfo

      public PlayerInfo(UserProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable RemoteChatSession chatSession, int listOrder, boolean showHat)
  • Method Details

    • getProfileId

      public UUID getProfileId()
    • getGameProfile

      public UserProfile getGameProfile()
    • isListed

      public boolean isListed()
    • getLatency

      public int getLatency()
    • getGameMode

      public GameMode getGameMode()
    • getDisplayName

      @Nullable public @Nullable net.kyori.adventure.text.Component getDisplayName()
    • getChatSession

      @Nullable public @Nullable RemoteChatSession getChatSession()
    • getListOrder

      public int getListOrder()
      Added with 1.21.2
    • isShowHat

      public boolean isShowHat()
      Added with 1.21.4
    • setGameProfile

      public void setGameProfile(UserProfile gameProfile)
    • setListed

      public void setListed(boolean listed)
    • setLatency

      public void setLatency(int latency)
    • setGameMode

      public void setGameMode(GameMode gameMode)
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable net.kyori.adventure.text.Component displayName)
    • setChatSession

      public void setChatSession(@Nullable @Nullable RemoteChatSession chatSession)
    • setListOrder

      public void setListOrder(int listOrder)
      Added with 1.21.2
    • setShowHat

      public void setShowHat(boolean showHat)
      Added with 1.21.4