net.minecraft.network.protocol.game

public class ClientboundResourcePackPacket

implements Packet<ClientGamePacketListener>

td
net.minecraft.network.protocol.game.ClientboundResourcePackPacket
net.minecraft.class_2720
net.minecraft.network.packet.s2c.play.ResourcePackSendS2CPacket
net.minecraft.src.C_5102_
net.minecraft.network.protocol.game.PacketPlayOutResourcePackSend

Field summary

Modifier and TypeField
public static final int
a
MAX_HASH_LENGTH
field_33340
MAX_HASH_LENGTH
f_179178_
private final String
b
url
field_12427
url
f_132912_
private final String
c
hash
field_12428
hash
f_132913_
private final boolean
d
required
field_27844
required
f_179179_
private final Component
e
prompt
field_33541
prompt
f_179180_

Constructor summary

ModifierConstructor
public (String url, String hash, boolean required, Component prompt)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(pn arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(qu arg0)
handle(ClientGamePacketListener arg0)
method_11774(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public String
b()
getUrl()
method_11772()
getURL()
m_132924_()
public String
c()
getHash()
method_11773()
getSHA1()
m_132927_()
public boolean
d()
isRequired()
method_32307()
isRequired()
m_179188_()
public Component
e()
getPrompt()
method_36340()
getPrompt()
m_179189_()