Class ResourcePackStatusC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ResourcePackStatusC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ResourcePackStatusC2SPacket extends Object implements Packet<ServerPlayPacketListener>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourcePackStatusC2SPacket.Status
-
Field Summary
Fields Modifier and Type Field Description private ResourcePackStatusC2SPacket.Status
status
-
Constructor Summary
Constructors Constructor Description ResourcePackStatusC2SPacket()
ResourcePackStatusC2SPacket(ResourcePackStatusC2SPacket.Status status)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
status
-
-
Constructor Details
-
ResourcePackStatusC2SPacket
public ResourcePackStatusC2SPacket() -
ResourcePackStatusC2SPacket
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
-