Package net.minecraftforge.fml.network
Class FMLHandshakeMessages.S2CModList
java.lang.Object
net.minecraftforge.fml.network.FMLHandshakeMessages.LoginIndexedMessage
net.minecraftforge.fml.network.FMLHandshakeMessages.S2CModList
- All Implemented Interfaces:
IntSupplier
- Enclosing class:
- FMLHandshakeMessages
public static class FMLHandshakeMessages.S2CModList
extends FMLHandshakeMessages.LoginIndexedMessage
Server to client "list of mods". Always first handshake message.
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
String> private List<ResourceLocation>
-
Constructor Summary
ModifierConstructorDescriptionprivate
S2CModList
(List<String> mods, Map<ResourceLocation, String> channels, List<ResourceLocation> registries) -
Method Summary
Methods inherited from class net.minecraftforge.fml.network.FMLHandshakeMessages.LoginIndexedMessage
getAsInt, getLoginIndex, setLoginIndex
-
Field Details
-
mods
-
channels
-
registries
-
-
Constructor Details
-
S2CModList
public S2CModList() -
S2CModList
private S2CModList(List<String> mods, Map<ResourceLocation, String> channels, List<ResourceLocation> registries)
-
-
Method Details
-
decode
-
encode
-
getModList
-
getRegistries
-
getChannels
-