net.minecraft.network.protocol.game

public record ClientboundCooldownPacket

implements Packet<ClientGamePacketListener>

adp
net.minecraft.network.protocol.game.ClientboundCooldownPacket
net.minecraft.class_2656
net.minecraft.network.packet.s2c.play.CooldownUpdateS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutSetCooldown

Field summary

Modifier and TypeField
private final ResourceLocation
b
cooldownGroup
comp_3082
cooldownGroup
private final int
c
duration
comp_2199
cooldown
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundCooldownPacket>
a
STREAM_CODEC
field_47919
CODEC

Constructor summary

ModifierConstructor
public (ResourceLocation arg0, int arg1)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundCooldownPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11455(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public ResourceLocation
b()
cooldownGroup()
comp_3082()
cooldownGroup()
public int
e()
duration()
comp_2199()
cooldown()