Class SCustomPayloadLoginPacket
java.lang.Object
net.minecraft.network.login.server.SCustomPayloadLoginPacket
- All Implemented Interfaces:
IPacket<IClientLoginNetHandler>,ICustomPacket<SCustomPayloadLoginPacket>
public class SCustomPayloadLoginPacket
extends Object
implements IPacket<IClientLoginNetHandler>, ICustomPacket<SCustomPayloadLoginPacket>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.fml.network.ICustomPacket
ICustomPacket.Fields -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(IClientLoginNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.fml.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setNameMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
transactionId
private int transactionId -
identifier
-
data
-
-
Constructor Details
-
SCustomPayloadLoginPacket
public SCustomPayloadLoginPacket()
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IClientLoginNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientLoginNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IClientLoginNetHandler>
-
getTransactionId
public int getTransactionId()
-