Class CloseScreenS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CloseScreenS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class CloseScreenS2CPacket extends Object implements Packet<ClientPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description private intsyncId -
Constructor Summary
Constructors Constructor Description CloseScreenS2CPacket()CloseScreenS2CPacket(int syncId) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
syncId
private int syncId
-
-
Constructor Details
-
CloseScreenS2CPacket
public CloseScreenS2CPacket() -
CloseScreenS2CPacket
public CloseScreenS2CPacket(int syncId)
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException
-