net.minecraft.network.protocol.game

public class ClientboundStopSoundPacket

implements Packet<ClientGamePacketListener>

agf
net.minecraft.network.protocol.game.ClientboundStopSoundPacket
net.minecraft.class_2770
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
net.minecraft.src.C_5131_
net.minecraft.network.protocol.game.PacketPlayOutStopSound

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundStopSoundPacket>
a
STREAM_CODEC
field_47999
CODEC
f_314855_
private static final int
b
HAS_SOURCE
field_33354
CATEGORY_MASK
f_179423_
private static final int
c
HAS_SOUND
field_33355
SOUND_ID_MASK
f_179424_
private final ResourceLocation
d
name
field_12676
soundId
f_133464_
private final SoundSource
e
source
field_12677
category
f_133465_

Constructor summary

ModifierConstructor
public (ResourceLocation soundId, SoundSource category)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_55944(class_2540 arg0)
write(PacketByteBuf buf)
m_133477_(C_4983_ arg0)
public PacketType<ClientboundStopSoundPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aci arg0)
handle(ClientGamePacketListener arg0)
method_11905(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public ResourceLocation
b()
getName()
method_11904()
getSoundId()
m_133476_()
public SoundSource
e()
getSource()
method_11903()
getCategory()
m_133479_()