Package net.minecraftforge.network
Class LoginWrapper
java.lang.Object
net.minecraftforge.network.LoginWrapper
Wrapper for custom login packets. Transforms unnamed login channel messages into channels dispatched the same
 as regular custom packets.
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Loggerstatic final ResourceLocationprivate EventNetworkChannel - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription(package private) voidsendServerToClientLoginPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager) private FriendlyByteBufwrapPacket(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
- 
LoginWrapper
LoginWrapper() 
 - 
 - 
Method Details
- 
wrapperReceived
 - 
wrapPacket
 - 
sendServerToClientLoginPacket
void sendServerToClientLoginPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager)  
 -