net.minecraft.network.protocol.common

public record ClientboundResourcePackPushPacket

implements Packet<ClientCommonPacketListener>

zj
net.minecraft.network.protocol.common.ClientboundResourcePackPushPacket
net.minecraft.class_2720
net.minecraft.network.packet.s2c.common.ResourcePackSendS2CPacket
net.minecraft.network.protocol.common.ClientboundResourcePackPushPacket

Field summary

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

Constructor summary

ModifierConstructor
public (UUID arg0, String arg1, String arg2, boolean arg3, Optional<Component> arg4)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundResourcePackPushPacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_11774(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public UUID
b()
id()
comp_2158()
id()
public String
e()
url()
comp_2159()
url()
public String
f()
hash()
comp_2160()
hash()
public boolean
g()
required()
comp_2161()
required()
public Optional<Component>
h()
prompt()
comp_2162()
prompt()