Uses of Record Class
net.minecraft.server.ServerMetadata
Package
Description
-
Uses of ServerMetadata in net.minecraft.network.packet.s2c.query
Modifier and TypeFieldDescriptionprivate final ServerMetadata
QueryResponseS2CPacket.metadata
The field for themetadata
record component.Modifier and TypeMethodDescriptionQueryResponseS2CPacket.metadata()
Returns the value of themetadata
record component.ModifierConstructorDescriptionQueryResponseS2CPacket
(ServerMetadata metadata) Creates an instance of aQueryResponseS2CPacket
record class. -
Uses of ServerMetadata in net.minecraft.server
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ServerMetadata> ServerMetadata.CODEC
Modifier and TypeMethodDescriptionprivate ServerMetadata
MinecraftServer.createMetadata()
MinecraftServer.getServerMetadata()
-
Uses of ServerMetadata in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.sendServerMetadata
(ServerMetadata metadata) ModifierConstructorDescriptionServerQueryNetworkHandler
(ServerMetadata metadata, ClientConnection connection)