Package net.minecraftforge.fml.network
Class FMLLoginWrapper
java.lang.Object
net.minecraftforge.fml.network.FMLLoginWrapper
Wrapper for custom login packets. Transforms unnamed login channel messages into channels dispatched the same
as regular custom packets.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
(package private) static final ResourceLocation
private EventNetworkChannel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
sendServerToClientLoginPacket
(ResourceLocation resourceLocation, PacketBuffer buffer, int index, NetworkManager manager) private PacketBuffer
wrapPacket
(ResourceLocation rl, PacketBuffer buf) private <T extends NetworkEvent>
voidwrapperReceived
(T packet)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
WRAPPER
-
wrapperChannel
-
-
Constructor Details
-
FMLLoginWrapper
FMLLoginWrapper()
-
-
Method Details
-
wrapperReceived
-
wrapPacket
-
sendServerToClientLoginPacket
void sendServerToClientLoginPacket(ResourceLocation resourceLocation, PacketBuffer buffer, int index, NetworkManager manager)
-