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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle
(IClientLoginNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.fml.network.ICustomPacket
getDirection, getIndex, getInternalData, getName, getThis, setData, setIndex, setName
Methods 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:
read
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientLoginNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientLoginNetHandler>
-
getTransactionId
public int getTransactionId()
-