Class StopSoundS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ynintermediary net/minecraft/class_2770named net/minecraft/network/packet/s2c/play/StopSoundS2CPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable SoundCategoryprivate static final intprivate static final intprivate final @Nullable Identifier -
Constructor Summary
ConstructorsConstructorDescriptionStopSoundS2CPacket(@Nullable Identifier soundId, @Nullable SoundCategory category) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 aLyn;a:Iintermediary field_33354Lnet/minecraft/class_2770;field_33354:Inamed CATEGORY_MASKLnet/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 bLyn;b:Iintermediary field_33355Lnet/minecraft/class_2770;field_33355:Inamed SOUND_ID_MASKLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;SOUND_ID_MASK:I
-
soundId
- Mappings:
Namespace Name Mixin selector official cLyn;c:Lacq;intermediary field_12676Lnet/minecraft/class_2770;field_12676:Lnet/minecraft/class_2960;named soundIdLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;soundId:Lnet/minecraft/util/Identifier;
-
category
- Mappings:
Namespace Name Mixin selector official dLyn;d:Lami;intermediary field_12677Lnet/minecraft/class_2770;field_12677:Lnet/minecraft/class_3419;named categoryLnet/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;)Vintermediary <init>Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;)Vnamed <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;)Vintermediary <init>Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLuo;a(Lsf;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSoundId
- Mappings:
Namespace Name Mixin selector official aLyn;a()Lacq;intermediary method_11904Lnet/minecraft/class_2770;method_11904()Lnet/minecraft/class_2960;named getSoundIdLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
-
getCategory
- Mappings:
Namespace Name Mixin selector official cLyn;c()Lami;intermediary method_11903Lnet/minecraft/class_2770;method_11903()Lnet/minecraft/class_3419;named getCategoryLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLyn;a(Lur;)Vintermediary method_11905Lnet/minecraft/class_2770;method_11905(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-