Class ResourcePackSendS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ResourcePackSendS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official xe
intermediary net/minecraft/class_2720
named net/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionResourcePackSendS2CPacket
(String url, String hash, boolean required, @Nullable Text prompt) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getSHA1()
getURL()
boolean
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.Packet
isWritingErrorSkippable
-
Field Details
-
MAX_HASH_LENGTH
public static final int MAX_HASH_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lxe;a:I
intermediary field_33340
Lnet/minecraft/class_2720;field_33340:I
named MAX_HASH_LENGTH
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;MAX_HASH_LENGTH:I
-
url
- Mappings:
Namespace Name Mixin selector official b
Lxe;b: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 c
Lxe;c: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 final boolean required- Mappings:
Namespace Name Mixin selector official d
Lxe;d:Z
intermediary field_27844
Lnet/minecraft/class_2720;field_27844:Z
named required
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;required:Z
-
prompt
- Mappings:
Namespace Name Mixin selector official e
Lxe;e:Lsw;
intermediary field_33541
Lnet/minecraft/class_2720;field_33541:Lnet/minecraft/class_2561;
named prompt
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;prompt:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
ResourcePackSendS2CPacket
public ResourcePackSendS2CPacket(String url, String hash, boolean required, @Nullable @Nullable Text prompt) - Mappings:
Namespace Name Mixin selector official <init>
Lxe;<init>(Ljava/lang/String;Ljava/lang/String;ZLsw;)V
intermediary <init>
Lnet/minecraft/class_2720;<init>(Ljava/lang/String;Ljava/lang/String;ZLnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;<init>(Ljava/lang/String;Ljava/lang/String;ZLnet/minecraft/text/Text;)V
-
ResourcePackSendS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lxe;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2720;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lxe;a(Lur;)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 a
Lxe;a()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
Lxe;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
public boolean isRequired()- Mappings:
Namespace Name Mixin selector official d
Lxe;d()Z
intermediary method_32307
Lnet/minecraft/class_2720;method_32307()Z
named isRequired
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;isRequired()Z
-
getPrompt
- Mappings:
Namespace Name Mixin selector official e
Lxe;e()Lsw;
intermediary method_36340
Lnet/minecraft/class_2720;method_36340()Lnet/minecraft/class_2561;
named getPrompt
Lnet/minecraft/network/packet/s2c/play/ResourcePackSendS2CPacket;getPrompt()Lnet/minecraft/text/Text;
-