public class FMLNetworkHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LOGIN_TIMEOUT |
static int |
READ_TIMEOUT |
Constructor and Description |
---|
FMLNetworkHandler() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
checkModList(FMLHandshakeMessage.ModList modListPacket,
Side side) |
static java.lang.String |
checkModList(java.util.Map<java.lang.String,java.lang.String> listData,
Side side) |
static void |
enhanceStatusQuery(com.google.gson.JsonObject jsonobject) |
static void |
fmlClientHandshake(NetworkManager networkManager) |
static void |
fmlServerHandshake(PlayerList scm,
NetworkManager manager,
EntityPlayerMP player) |
static java.util.List<FMLProxyPacket> |
forwardHandshake(FMLMessage.CompleteHandshake push,
NetworkDispatcher target,
Side side) |
static Packet<?> |
getEntitySpawningPacket(Entity entity) |
static void |
openGui(EntityPlayer entityPlayer,
java.lang.Object mod,
int modGuiId,
World world,
int x,
int y,
int z) |
static void |
registerChannel(FMLContainer container,
Side side) |
public static final int READ_TIMEOUT
public static final int LOGIN_TIMEOUT
public static void fmlServerHandshake(PlayerList scm, NetworkManager manager, EntityPlayerMP player)
public static void fmlClientHandshake(NetworkManager networkManager)
public static void openGui(EntityPlayer entityPlayer, java.lang.Object mod, int modGuiId, World world, int x, int y, int z)
@Nullable public static java.lang.String checkModList(FMLHandshakeMessage.ModList modListPacket, Side side)
@Nullable public static java.lang.String checkModList(java.util.Map<java.lang.String,java.lang.String> listData, Side side)
public static void registerChannel(FMLContainer container, Side side)
public static java.util.List<FMLProxyPacket> forwardHandshake(FMLMessage.CompleteHandshake push, NetworkDispatcher target, Side side)
public static void enhanceStatusQuery(com.google.gson.JsonObject jsonobject)