Package net.minecraftforge.fml.network
Class FMLMCRegisterPacketHandler
- java.lang.Object
-
- net.minecraftforge.fml.network.FMLMCRegisterPacketHandler
-
public class FMLMCRegisterPacketHandler extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FMLMCRegisterPacketHandler.ChannelList
-
Field Summary
Fields Modifier and Type Field Description static FMLMCRegisterPacketHandler
INSTANCE
-
Constructor Summary
Constructors Constructor Description FMLMCRegisterPacketHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(NetworkManager manager)
private static FMLMCRegisterPacketHandler.ChannelList
getFrom(NetworkEvent event)
(package private) void
registerListener(NetworkEvent evt)
void
sendRegistry(NetworkManager manager, NetworkDirection dir)
(package private) void
unregisterListener(NetworkEvent evt)
-
-
-
Field Detail
-
INSTANCE
public static final FMLMCRegisterPacketHandler INSTANCE
-
-
Method Detail
-
addChannels
public void addChannels(java.util.Set<ResourceLocation> locations, NetworkManager manager)
-
registerListener
void registerListener(NetworkEvent evt)
-
unregisterListener
void unregisterListener(NetworkEvent evt)
-
getFrom
private static FMLMCRegisterPacketHandler.ChannelList getFrom(NetworkManager manager)
-
getFrom
private static FMLMCRegisterPacketHandler.ChannelList getFrom(NetworkEvent event)
-
fromAttr
private static FMLMCRegisterPacketHandler.ChannelList fromAttr(io.netty.util.Attribute<FMLMCRegisterPacketHandler.ChannelList> attr)
-
sendRegistry
public void sendRegistry(NetworkManager manager, NetworkDirection dir)
-
-