public static class FMLHandshakeMessages.S2CModList extends FMLHandshakeMessages.LoginIndexedMessage
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,java.lang.String> |
channels |
private java.util.List<java.lang.String> |
mods |
private java.util.List<ResourceLocation> |
registries |
Modifier | Constructor and Description |
---|---|
|
S2CModList() |
private |
S2CModList(java.util.List<java.lang.String> mods,
java.util.Map<ResourceLocation,java.lang.String> channels,
java.util.List<ResourceLocation> registries) |
Modifier and Type | Method and Description |
---|---|
static FMLHandshakeMessages.S2CModList |
decode(PacketBuffer input) |
void |
encode(PacketBuffer output) |
java.util.Map<ResourceLocation,java.lang.String> |
getChannels() |
java.util.List<java.lang.String> |
getModList() |
java.util.List<ResourceLocation> |
getRegistries() |
getAsInt, getLoginIndex, setLoginIndex
private java.util.List<java.lang.String> mods
private java.util.Map<ResourceLocation,java.lang.String> channels
private java.util.List<ResourceLocation> registries
public S2CModList()
private S2CModList(java.util.List<java.lang.String> mods, java.util.Map<ResourceLocation,java.lang.String> channels, java.util.List<ResourceLocation> registries)
public static FMLHandshakeMessages.S2CModList decode(PacketBuffer input)
public void encode(PacketBuffer output)
public java.util.List<java.lang.String> getModList()
public java.util.List<ResourceLocation> getRegistries()
public java.util.Map<ResourceLocation,java.lang.String> getChannels()