public class ResourcePackSendS2CPacket extends Object implements Packet<ClientPlayPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
field_27844 |
private String |
hash |
private String |
url |
| Constructor and Description |
|---|
ResourcePackSendS2CPacket() |
ResourcePackSendS2CPacket(String url,
String hash,
boolean bool) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ClientPlayPacketListener clientPlayPacketListener) |
String |
getSHA1() |
String |
getURL() |
boolean |
method_32307() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate String url
private String hash
private boolean field_27844
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ClientPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ClientPlayPacketListener>IOExceptionpublic void apply(ClientPlayPacketListener clientPlayPacketListener)
apply in interface Packet<ClientPlayPacketListener>@Environment(value=CLIENT) public String getURL()
@Environment(value=CLIENT) public String getSHA1()
@Environment(value=CLIENT) public boolean method_32307()