public class SDisconnectLoginPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
reason |
Constructor and Description |
---|
SDisconnectLoginPacket() |
SDisconnectLoginPacket(ITextComponent p_i46853_1_) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getReason() |
void |
processPacket(IClientLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private ITextComponent reason
public SDisconnectLoginPacket()
public SDisconnectLoginPacket(ITextComponent p_i46853_1_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void processPacket(IClientLoginNetHandler handler)
processPacket
in interface IPacket<IClientLoginNetHandler>
public ITextComponent getReason()