public class FMLMCRegisterPacketHandler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FMLMCRegisterPacketHandler.ChannelList |
Modifier and Type | Field and Description |
---|---|
static FMLMCRegisterPacketHandler |
INSTANCE |
Constructor and Description |
---|
FMLMCRegisterPacketHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addChannels(java.util.Set<ResourceLocation> locations,
NetworkManager manager) |
private static FMLMCRegisterPacketHandler.ChannelList |
fromAttr(io.netty.util.Attribute<FMLMCRegisterPacketHandler.ChannelList> attr) |
private static FMLMCRegisterPacketHandler.ChannelList |
getFrom(NetworkEvent event) |
private static FMLMCRegisterPacketHandler.ChannelList |
getFrom(NetworkManager manager) |
(package private) void |
registerListener(NetworkEvent evt) |
void |
sendRegistry(NetworkManager manager,
NetworkDirection dir) |
(package private) void |
unregisterListener(NetworkEvent evt) |
public static final FMLMCRegisterPacketHandler INSTANCE
public void addChannels(java.util.Set<ResourceLocation> locations, NetworkManager manager)
void registerListener(NetworkEvent evt)
void unregisterListener(NetworkEvent evt)
private static FMLMCRegisterPacketHandler.ChannelList getFrom(NetworkManager manager)
private static FMLMCRegisterPacketHandler.ChannelList getFrom(NetworkEvent event)
private static FMLMCRegisterPacketHandler.ChannelList fromAttr(io.netty.util.Attribute<FMLMCRegisterPacketHandler.ChannelList> attr)
public void sendRegistry(NetworkManager manager, NetworkDirection dir)