记录类 MismatchData

java.lang.Object
java.lang.Record
net.minecraftforge.network.packets.MismatchData

public record MismatchData(Map<ResourceLocation,NetworkContext.NetworkMismatchData.Version> mismatched, Set<ResourceLocation> missing) extends Record
Notifies the client of a channel mismatch on the server, so a ModMismatchDisconnectedScreen is used to notify the user of the disconnection. This packet also sends the data of a channel mismatch (currently, the ids and versions of the mismatched channels) to the client for it to display the correct information in said screen.