Class FMLLoginWrapper
java.lang.Object
net.minecraftforge.fmllegacy.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 org.apache.logging.log4j.Logger
(package private) static ResourceLocation
private EventNetworkChannel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
sendServerToClientLoginPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager)
private FriendlyByteBuf
wrapPacket(ResourceLocation rl, FriendlyByteBuf 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, FriendlyByteBuf buffer, int index, Connection manager)
-