Package net.minecraftforge.fml.network
Class FMLHandshakeMessages.C2SModListReply
- java.lang.Object
-
- net.minecraftforge.fml.network.FMLHandshakeMessages.LoginIndexedMessage
-
- net.minecraftforge.fml.network.FMLHandshakeMessages.C2SModListReply
-
- All Implemented Interfaces:
java.util.function.IntSupplier
- Enclosing class:
- FMLHandshakeMessages
public static class FMLHandshakeMessages.C2SModListReply extends FMLHandshakeMessages.LoginIndexedMessage
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ResourceLocation,java.lang.String>
channels
private java.util.List<java.lang.String>
mods
private java.util.Map<ResourceLocation,java.lang.String>
registries
-
Constructor Summary
Constructors Modifier Constructor Description C2SModListReply()
private
C2SModListReply(java.util.List<java.lang.String> mods, java.util.Map<ResourceLocation,java.lang.String> channels, java.util.Map<ResourceLocation,java.lang.String> registries)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FMLHandshakeMessages.C2SModListReply
decode(PacketBuffer input)
void
encode(PacketBuffer output)
java.util.Map<ResourceLocation,java.lang.String>
getChannels()
java.util.List<java.lang.String>
getModList()
java.util.Map<ResourceLocation,java.lang.String>
getRegistries()
-
Methods inherited from class net.minecraftforge.fml.network.FMLHandshakeMessages.LoginIndexedMessage
getAsInt, getLoginIndex, setLoginIndex
-
-
-
-
Field Detail
-
mods
private java.util.List<java.lang.String> mods
-
channels
private java.util.Map<ResourceLocation,java.lang.String> channels
-
registries
private java.util.Map<ResourceLocation,java.lang.String> registries
-
-
Constructor Detail
-
C2SModListReply
public C2SModListReply()
-
C2SModListReply
private C2SModListReply(java.util.List<java.lang.String> mods, java.util.Map<ResourceLocation,java.lang.String> channels, java.util.Map<ResourceLocation,java.lang.String> registries)
-
-
Method Detail
-
decode
public static FMLHandshakeMessages.C2SModListReply decode(PacketBuffer input)
-
encode
public void encode(PacketBuffer output)
-
getModList
public java.util.List<java.lang.String> getModList()
-
getRegistries
public java.util.Map<ResourceLocation,java.lang.String> getRegistries()
-
getChannels
public java.util.Map<ResourceLocation,java.lang.String> getChannels()
-
-