Uses of Record Class
net.minecraft.network.protocol.status.ServerStatus.Players
Package
Description
-
Uses of ServerStatus.Players in net.minecraft.client.multiplayer
-
Uses of ServerStatus.Players in net.minecraft.network.protocol.status
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ServerStatus.Players> ServerStatus.Players.CODEC
private final Optional
<ServerStatus.Players> ServerStatus.players
The field for theplayers
record component.Modifier and TypeMethodDescriptionServerStatus.players()
Returns the value of theplayers
record component.ModifierConstructorDescriptionServerStatus
(Component description, Optional<ServerStatus.Players> players, Optional<ServerStatus.Version> version, Optional<ServerStatus.Favicon> favicon, boolean enforcesSecureChat) Deprecated.ServerStatus
(Component description, Optional<ServerStatus.Players> players, Optional<ServerStatus.Version> version, Optional<ServerStatus.Favicon> favicon, boolean enforcesSecureChat, boolean isModded) Creates an instance of aServerStatus
record class. -
Uses of ServerStatus.Players in net.minecraft.server
Modifier and TypeMethodDescriptionprivate ServerStatus.Players
MinecraftServer.buildPlayerStatus()
ServerStatus(Component, Optional, Optional, Optional, boolean, boolean)