Class StopSoundS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official yn
intermediary net/minecraft/class_2770
named net/minecraft/network/packet/s2c/play/StopSoundS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final @Nullable SoundCategory
private static final int
private static final int
private final @Nullable Identifier
-
Constructor Summary
ConstructorDescriptionStopSoundS2CPacket
(@Nullable Identifier soundId, @Nullable SoundCategory category) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
CATEGORY_MASK
private static final int CATEGORY_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lyn;a:I
intermediary field_33354
Lnet/minecraft/class_2770;field_33354:I
named CATEGORY_MASK
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;CATEGORY_MASK:I
-
SOUND_ID_MASK
private static final int SOUND_ID_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lyn;b:I
intermediary field_33355
Lnet/minecraft/class_2770;field_33355:I
named SOUND_ID_MASK
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;SOUND_ID_MASK:I
-
soundId
- Mappings:
Namespace Name Mixin selector official c
Lyn;c:Lacq;
intermediary field_12676
Lnet/minecraft/class_2770;field_12676:Lnet/minecraft/class_2960;
named soundId
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;soundId:Lnet/minecraft/util/Identifier;
-
category
- Mappings:
Namespace Name Mixin selector official d
Lyn;d:Lami;
intermediary field_12677
Lnet/minecraft/class_2770;field_12677:Lnet/minecraft/class_3419;
named category
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
-
-
Constructor Details
-
StopSoundS2CPacket
public StopSoundS2CPacket(@Nullable @Nullable Identifier soundId, @Nullable @Nullable SoundCategory category) - Mappings:
Namespace Name Mixin selector official <init>
Lyn;<init>(Lacq;Lami;)V
intermediary <init>
Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;)V
-
StopSoundS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lyn;<init>(Lsf;)V
intermediary <init>
Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lsf;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSoundId
- Mappings:
Namespace Name Mixin selector official a
Lyn;a()Lacq;
intermediary method_11904
Lnet/minecraft/class_2770;method_11904()Lnet/minecraft/class_2960;
named getSoundId
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
-
getCategory
- Mappings:
Namespace Name Mixin selector official c
Lyn;c()Lami;
intermediary method_11903
Lnet/minecraft/class_2770;method_11903()Lnet/minecraft/class_3419;
named getCategory
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lyn;a(Lur;)V
intermediary method_11905
Lnet/minecraft/class_2770;method_11905(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-