Uses of Record Class
net.minecraft.network.message.LastSeenMessageList
-
Uses of LastSeenMessageList in net.minecraft.network.message
Modifier and TypeFieldDescriptionstatic LastSeenMessageList
LastSeenMessageList.EMPTY
private final LastSeenMessageList
LastSeenMessagesCollector.LastSeenMessages.lastSeen
The field for thelastSeen
record component.private final LastSeenMessageList
MessageBody.lastSeenMessages
The field for thelastSeenMessages
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<LastSeenMessageList>
LastSeenMessageList.CODEC
Modifier and TypeMethodDescriptionLastSeenMessagesCollector.LastSeenMessages.lastSeen()
Returns the value of thelastSeen
record component.MessageBody.lastSeenMessages()
Returns the value of thelastSeenMessages
record component.Modifier and TypeMethodDescriptionLastSeenMessageList.Indexed.unpack
(MessageSignatureStorage storage) AcknowledgmentValidator.validate
(LastSeenMessageList.Acknowledgment acknowledgment) ModifierConstructorDescriptionLastSeenMessages
(LastSeenMessageList lastSeenMessageList, LastSeenMessageList.Acknowledgment acknowledgment) MessageBody
(String string, Instant instant, long long2, LastSeenMessageList lastSeenMessageList) -
Uses of LastSeenMessageList in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate Optional<LastSeenMessageList>
ServerPlayNetworkHandler.validateAcknowledgment
(LastSeenMessageList.Acknowledgment acknowledgment) private Optional<LastSeenMessageList>
ServerPlayNetworkHandler.validateMessage
(String message, Instant timestamp, LastSeenMessageList.Acknowledgment acknowledgment) Returns the validated acknowledgment if the message is valid, or an empty optional if it is not.Modifier and TypeMethodDescriptionprivate Map<String,
SignedMessage> ServerPlayNetworkHandler.collectArgumentMessages
(CommandExecutionC2SPacket packet, SignedArgumentList<?> arguments, LastSeenMessageList lastSeenMessages) Returns a map of argument name and value as signed messages.private SignedMessage
ServerPlayNetworkHandler.getSignedMessage
(ChatMessageC2SPacket packet, LastSeenMessageList lastSeenMessages) private void
ServerPlayNetworkHandler.handleCommandExecution
(CommandExecutionC2SPacket packet, LastSeenMessageList lastSeenMessages)