Class HandshakeMessages.S2CChannelMismatchData

java.lang.Object
net.minecraftforge.network.HandshakeMessages.LoginIndexedMessage
net.minecraftforge.network.HandshakeMessages.S2CChannelMismatchData
All Implemented Interfaces:
IntSupplier
Enclosing class:
HandshakeMessages

public static class HandshakeMessages.S2CChannelMismatchData extends HandshakeMessages.LoginIndexedMessage
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.