public class NetworkIdRegistry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static NetworkIdRegistry |
instance |
| Constructor and Description |
|---|
NetworkIdRegistry() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
read(io.netty.buffer.ByteBuf buf) |
void |
serverConnected(cpw.mods.fml.common.network.FMLNetworkEvent.ClientConnectedToServerEvent evt) |
void |
serverConnected(cpw.mods.fml.common.network.FMLNetworkEvent.ServerConnectionFromClientEvent evt) |
void |
tick(cpw.mods.fml.common.gameevent.TickEvent.ServerTickEvent evt) |
static void |
write(io.netty.buffer.ByteBuf buf,
java.lang.String strId) |
public static NetworkIdRegistry instance
public static void write(io.netty.buffer.ByteBuf buf,
java.lang.String strId)
public static java.lang.String read(io.netty.buffer.ByteBuf buf)
public void serverConnected(cpw.mods.fml.common.network.FMLNetworkEvent.ServerConnectionFromClientEvent evt)
public void serverConnected(cpw.mods.fml.common.network.FMLNetworkEvent.ClientConnectedToServerEvent evt)
public void tick(cpw.mods.fml.common.gameevent.TickEvent.ServerTickEvent evt)