Package net.minecraftforge.network
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.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondecode(FriendlyByteBuf input) voidencode(FriendlyByteBuf output) Methods inherited from class net.minecraftforge.network.HandshakeMessages.LoginIndexedMessagegetAsInt, getLoginIndex, setLoginIndex
- 
Field Details- 
mismatchedChannelData
 
- 
- 
Constructor Details- 
S2CChannelMismatchData
 
- 
- 
Method Details- 
decode
- 
encode
- 
getMismatchedChannelData
 
-