Class ServerStatusInfo
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.status.ServerStatusInfo
-
Constructor Summary
ConstructorsConstructorDescriptionServerStatusInfo(@NonNull net.kyori.adventure.text.Component description, @Nullable PlayerInfo playerInfo, @Nullable VersionInfo versionInfo, byte[] iconPng, boolean enforcesSecureChat) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull net.kyori.adventure.text.Componentbyte[]@Nullable PlayerInfo@Nullable VersionInfointhashCode()boolean@NonNull StringtoString()
-
Constructor Details
-
ServerStatusInfo
public ServerStatusInfo(@NonNull @NonNull net.kyori.adventure.text.Component description, @Nullable @Nullable PlayerInfo playerInfo, @Nullable @Nullable VersionInfo versionInfo, byte[] iconPng, boolean enforcesSecureChat)
-
-
Method Details
-
getDescription
@NonNull public @NonNull net.kyori.adventure.text.Component getDescription() -
getPlayerInfo
-
getVersionInfo
-
getIconPng
public byte[] getIconPng() -
isEnforcesSecureChat
public boolean isEnforcesSecureChat() -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-