Class ResourcePackSendS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ResourcePackSendS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ResourcePackSendS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official rg
intermediary net/minecraft/class_2720
named net/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ResourcePackSendS2CPacket()
ResourcePackSendS2CPacket(String url, String hash, boolean required)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
String
getSHA1()
String
getURL()
boolean
isRequired()
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
-
url
- Mappings:
Namespace Name Mixin selector official a
Lrg;a:Ljava/lang/String;
intermediary field_12427
Lnet/minecraft/class_2720;field_12427:Ljava/lang/String;
named url
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;url:Ljava/lang/String;
-
hash
- Mappings:
Namespace Name Mixin selector official b
Lrg;b:Ljava/lang/String;
intermediary field_12428
Lnet/minecraft/class_2720;field_12428:Ljava/lang/String;
named hash
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;hash:Ljava/lang/String;
-
required
private boolean required- Mappings:
Namespace Name Mixin selector official c
Lrg;c:Z
intermediary field_27844
Lnet/minecraft/class_2720;field_27844:Z
named required
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;required:Z
-
-
Constructor Details
-
ResourcePackSendS2CPacket
public ResourcePackSendS2CPacket() -
ResourcePackSendS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lrg;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_2720;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;<init>(Ljava/lang/String;Ljava/lang/String;Z)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lrg;a(Lpd;)V
intermediary method_11774
Lnet/minecraft/class_2720;method_11774(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getURL
- Mappings:
Namespace Name Mixin selector official b
Lrg;b()Ljava/lang/String;
intermediary method_11772
Lnet/minecraft/class_2720;method_11772()Ljava/lang/String;
named getURL
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;getURL()Ljava/lang/String;
-
getSHA1
- Mappings:
Namespace Name Mixin selector official c
Lrg;c()Ljava/lang/String;
intermediary method_11773
Lnet/minecraft/class_2720;method_11773()Ljava/lang/String;
named getSHA1
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;getSHA1()Ljava/lang/String;
-
isRequired
- Mappings:
Namespace Name Mixin selector official d
Lrg;d()Z
intermediary method_32307
Lnet/minecraft/class_2720;method_32307()Z
named isRequired
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;isRequired()Z
-