Class GuiCloseC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.GuiCloseC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class GuiCloseC2SPacket extends Object implements Packet<ServerPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description private intid -
Constructor Summary
Constructors Constructor Description GuiCloseC2SPacket()GuiCloseC2SPacket(int id) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
id
private int id
-
-
Constructor Details
-
GuiCloseC2SPacket
public GuiCloseC2SPacket() -
GuiCloseC2SPacket
@Environment(CLIENT) public GuiCloseC2SPacket(int id)
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException
-