Package net.minecraftforge.network
Class HandshakeMessages.S2CModData
java.lang.Object
net.minecraftforge.network.HandshakeMessages.LoginIndexedMessage
net.minecraftforge.network.HandshakeMessages.S2CModData
- All Implemented Interfaces:
- IntSupplier
- Enclosing class:
- HandshakeMessages
Prefixes S2CModList by sending additional data about the mods installed on the server to the client
 The mod data is stored as follows: [modId -> [modName, modVersion]]
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateS2CModData(Map<String, org.apache.commons.lang3.tuple.Pair<String, String>> mods) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandshakeMessages.S2CModDatadecode(FriendlyByteBuf input) voidencode(FriendlyByteBuf output) getMods()Methods inherited from class net.minecraftforge.network.HandshakeMessages.LoginIndexedMessagegetAsInt, getLoginIndex, setLoginIndex
- 
Field Details- 
mods
 
- 
- 
Constructor Details- 
S2CModDatapublic S2CModData()
- 
S2CModData
 
- 
- 
Method Details- 
decode
- 
encode
- 
getMods
 
-