Class StopSoundS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class StopSoundS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sgintermediary net/minecraft/class_2770named net/minecraft/network/packet/s2c/play/StopSoundS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private SoundCategorycategoryprivate IdentifiersoundId -
Constructor Summary
Constructors Constructor Description StopSoundS2CPacket()StopSoundS2CPacket(Identifier soundId, SoundCategory category) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)SoundCategorygetCategory()IdentifiergetSoundId()voidread(PacketByteBuf buf)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
isWritingErrorSkippable
-
Field Details
-
soundId
- Mappings:
Namespace Name Mixin selector official aLsg;a:Lwb;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 bLsg;b:Laeh;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() -
StopSoundS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>Lsg;<init>(Lwb;Laeh;)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
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSoundId
- Mappings:
Namespace Name Mixin selector official bLsg;b()Lwb;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 cLsg;c()Laeh;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 aLsg;a(Lpd;)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
-