net.minecraft.network.protocol.game

public class ClientboundStopSoundPacket

implements Packet<ClientGamePacketListener>

afp
net.minecraft.network.protocol.game.ClientboundStopSoundPacket
net.minecraft.class_2770
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutStopSound

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55944(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundStopSoundPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11905(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public ResourceLocation
b()
getName()
method_11904()
getSoundId()
public SoundSource
e()
getSource()
method_11903()
getCategory()