net.minecraft.network.protocol.common

public class ClientboundResourcePackPacket

implements Packet<ClientCommonPacketListener>

vl
net.minecraft.network.protocol.common.ClientboundResourcePackPacket
net.minecraft.class_2720
net.minecraft.network.packet.s2c.common.ResourcePackSendS2CPacket
net.minecraft.src.C_290278_
net.minecraft.network.protocol.common.ClientboundResourcePackPacket

Field summary

Modifier and TypeField
public static final int
a
MAX_HASH_LENGTH
field_33340
MAX_HASH_LENGTH
f_290634_
private final String
b
url
field_12427
url
f_290902_
private final String
c
hash
field_12428
hash
f_290956_
private final boolean
d
required
field_27844
required
f_291569_
private final Component
e
prompt
field_33541
prompt
f_291560_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(vg arg0)
handle(ClientCommonPacketListener arg0)
method_11774(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public String
a()
getUrl()
method_11772()
getUrl()
m_293033_()
public String
d()
getHash()
method_11773()
getHash()
m_295050_()
public boolean
e()
isRequired()
method_32307()
isRequired()
m_294040_()
public Component
f()
getPrompt()
method_36340()
getPrompt()
m_292957_()