net.minecraft.network.protocol.common

public record ClientboundResourcePackPushPacket

implements Packet<ClientCommonPacketListener>

aai
net.minecraft.network.protocol.common.ClientboundResourcePackPushPacket
net.minecraft.class_2720
net.minecraft.network.packet.s2c.common.ResourcePackSendS2CPacket
net.minecraft.src.C_302038_
net.minecraft.network.protocol.common.ClientboundResourcePackPushPacket

Field summary

Modifier and TypeField
private final UUID
c
id
comp_2158
id
f_303323_
private final String
d
url
comp_2159
url
f_302762_
private final String
e
hash
comp_2160
hash
f_302355_
private final boolean
f
required
comp_2161
required
f_302925_
private final Optional<Component>
g
prompt
comp_2162
prompt
f_303164_
public static final int
a
MAX_HASH_LENGTH
field_33340
MAX_HASH_LENGTH
f_302560_
public static final StreamCodec<io.netty.buffer.ByteBuf, ClientboundResourcePackPushPacket>
b
STREAM_CODEC
field_48626
CODEC
f_314484_

Constructor summary

ModifierConstructor
public (UUID url, String hash, String required, boolean prompt, Optional<Component> arg4)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundResourcePackPushPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aac arg0)
handle(ClientCommonPacketListener arg0)
method_11774(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public UUID
b()
id()
comp_2158()
id()
f_303323_()
public String
e()
url()
comp_2159()
url()
f_302762_()
public String
f()
hash()
comp_2160()
hash()
f_302355_()
public boolean
g()
required()
comp_2161()
required()
f_302925_()
public Optional<Component>
h()
prompt()
comp_2162()
prompt()
f_303164_()