类 HandshakeMessages.S2CChannelMismatchData

java.lang.Object
net.minecraftforge.network.HandshakeMessages.LoginIndexedMessage
net.minecraftforge.network.HandshakeMessages.S2CChannelMismatchData
所有已实现的接口:
IntSupplier
封闭类:
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.