Class WrapperPlayServerPlayerInfo.PlayerData

java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerPlayerInfo.PlayerData
Enclosing class:
WrapperPlayServerPlayerInfo

public static class WrapperPlayServerPlayerInfo.PlayerData extends Object
  • Constructor Details

    • PlayerData

      public PlayerData(@Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable UserProfile userProfile, @Nullable @Nullable GameMode gameMode, @Nullable @Nullable SignatureData signatureData, int ping)
    • PlayerData

      public PlayerData(@Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable UserProfile userProfile, @Nullable @Nullable GameMode gameMode, int ping)
  • Method Details

    • getUserProfile

      public UserProfile getUserProfile()
    • setUserProfile

      public void setUserProfile(UserProfile userProfile)
    • getSignatureData

      public SignatureData getSignatureData()
    • setSignatureData

      public void setSignatureData(SignatureData signatureData)
    • getUser

      @Nullable public @Nullable UserProfile getUser()
    • setUser

      public void setUser(@Nullable @Nullable UserProfile userProfile)
    • getGameMode

      @Nullable public @Nullable GameMode getGameMode()
    • setGameMode

      public void setGameMode(@Nullable @Nullable GameMode gameMode)
    • getPing

      public int getPing()
    • setPing

      public void setPing(int ping)
    • getDisplayName

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

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