Package net.minecraftforge.network
Class MCRegisterPacketHandler
java.lang.Object
net.minecraftforge.network.MCRegisterPacketHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MCRegisterPacketHandler
private static final org.slf4j.Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChannels
(Set<ResourceLocation> locations, Connection manager) private static MCRegisterPacketHandler.ChannelList
fromAttr
(io.netty.util.Attribute<MCRegisterPacketHandler.ChannelList> attr) private static MCRegisterPacketHandler.ChannelList
getFrom
(Connection manager) private static MCRegisterPacketHandler.ChannelList
getFrom
(NetworkEvent event) (package private) void
void
sendRegistry
(Connection manager, NetworkDirection dir) (package private) void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
INSTANCE
-
-
Constructor Details
-
MCRegisterPacketHandler
public MCRegisterPacketHandler()
-
-
Method Details
-
addChannels
-
registerListener
-
unregisterListener
-
getFrom
-
getFrom
-
fromAttr
private static MCRegisterPacketHandler.ChannelList fromAttr(io.netty.util.Attribute<MCRegisterPacketHandler.ChannelList> attr) -
sendRegistry
-