Class FMLHandshakeMessages.S2CModList
java.lang.Object
net.minecraftforge.fmllegacy.network.FMLHandshakeMessages.LoginIndexedMessage
net.minecraftforge.fmllegacy.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
Modifier and TypeMethodDescriptiondecode(FriendlyByteBuf input)
void
encode(FriendlyByteBuf output)
Methods inherited from class net.minecraftforge.fmllegacy.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
-