public class ForgeUtils extends Object
Constructor and Description |
---|
ForgeUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
getFmlBuildNumber(Map<String,String> modList)
Get the build number of FML from the packet.
|
static Map<String,String> |
readModList(PluginMessage pluginMessage)
Gets the modlist from the packet.
|
static Set<String> |
readRegisteredChannels(PluginMessage pluginMessage)
Gets the registered FML channels from the packet.
|
public static Set<String> readRegisteredChannels(PluginMessage pluginMessage)
pluginMessage
- The packet representing FMLProxyPacket.public static Map<String,String> readModList(PluginMessage pluginMessage)
pluginMessage
- The packet representing FMLProxyPacket.Copyright © 2012–2020 SpigotMC. All rights reserved.