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 Summary
Fields - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateS2CModData(Map<String, org.apache.commons.lang3.tuple.Pair<String, String>> mods)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic HandshakeMessages.S2CModDatadecode(FriendlyByteBuf input) voidencode(FriendlyByteBuf output) getMods()Methods inherited from class net.minecraftforge.network.HandshakeMessages.LoginIndexedMessage
getAsInt, getLoginIndex, setLoginIndex 
- 
Field Details
- 
mods
 
 - 
 - 
Constructor Details
- 
S2CModData
public S2CModData() - 
S2CModData
 
 - 
 - 
Method Details
- 
decode
 - 
encode
 - 
getMods
 
 -