net.minecraft.network.protocol.game

public class ClientboundStopSoundPacket

implements Packet<ClientGamePacketListener>

aap
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
private static final int
a
HAS_SOURCE
field_33354
CATEGORY_MASK
f_179423_
private static final int
b
HAS_SOUND
field_33355
SOUND_ID_MASK
f_179424_
private final ResourceLocation
c
name
field_12676
soundId
f_133464_
private final SoundSource
d
source
field_12677
category
f_133465_

Constructor summary

ModifierConstructor
public (ResourceLocation soundId, SoundSource category)
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 ResourceLocation
a()
getName()
method_11904()
getSoundId()
m_133476_()
public SoundSource
d()
getSource()
method_11903()
getCategory()
m_133479_()
public void
a(ww arg0)
handle(ClientGamePacketListener arg0)
method_11905(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)