Class PlaySoundIdS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class PlaySoundIdS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qdintermediary net/minecraft/class_2660named net/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private SoundCategorycategoryprivate intfixedXprivate intfixedYprivate intfixedZprivate Identifieridprivate floatpitchprivate floatvolume -
Constructor Summary
Constructors Constructor Description PlaySoundIdS2CPacket()PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch) -
Method Summary
Modifier and Type Method Description voidapply(ClientPlayPacketListener clientPlayPacketListener)SoundCategorygetCategory()floatgetPitch()IdentifiergetSoundId()floatgetVolume()doublegetX()doublegetY()doublegetZ()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
-
id
- Mappings:
Namespace Name Mixin selector official aLqd;a:Lwb;intermediary field_12170Lnet/minecraft/class_2660;field_12170:Lnet/minecraft/class_2960;named idLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;id:Lnet/minecraft/util/Identifier;
-
category
- Mappings:
Namespace Name Mixin selector official bLqd;b:Laeh;intermediary field_12171Lnet/minecraft/class_2660;field_12171:Lnet/minecraft/class_3419;named categoryLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
-
fixedX
private int fixedX- Mappings:
Namespace Name Mixin selector official cLqd;c:Iintermediary field_12169Lnet/minecraft/class_2660;field_12169:Inamed fixedXLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedX:I
-
fixedY
private int fixedY- Mappings:
Namespace Name Mixin selector official dLqd;d:Iintermediary field_12168Lnet/minecraft/class_2660;field_12168:Inamed fixedYLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedY:I
-
fixedZ
private int fixedZ- Mappings:
Namespace Name Mixin selector official eLqd;e:Iintermediary field_12167Lnet/minecraft/class_2660;field_12167:Inamed fixedZLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedZ:I
-
volume
private float volume- Mappings:
Namespace Name Mixin selector official fLqd;f:Fintermediary field_12166Lnet/minecraft/class_2660;field_12166:Fnamed volumeLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;volume:F
-
pitch
private float pitch- Mappings:
Namespace Name Mixin selector official gLqd;g:Fintermediary field_12172Lnet/minecraft/class_2660;field_12172:Fnamed pitchLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;pitch:F
-
-
Constructor Details
-
PlaySoundIdS2CPacket
public PlaySoundIdS2CPacket() -
PlaySoundIdS2CPacket
public PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)- Mappings:
Namespace Name Mixin selector official <init>Lqd;<init>(Lwb;Laeh;Ldiu;FF)Vintermediary <init>Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_243;FF)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/Vec3d;FF)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 bLqd;b()Lwb;intermediary method_11460Lnet/minecraft/class_2660;method_11460()Lnet/minecraft/class_2960;named getSoundIdLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
-
getCategory
- Mappings:
Namespace Name Mixin selector official cLqd;c()Laeh;intermediary method_11459Lnet/minecraft/class_2660;method_11459()Lnet/minecraft/class_3419;named getCategoryLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
-
getX
- Mappings:
Namespace Name Mixin selector official dLqd;d()Dintermediary method_11462Lnet/minecraft/class_2660;method_11462()Dnamed getXLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official eLqd;e()Dintermediary method_11461Lnet/minecraft/class_2660;method_11461()Dnamed getYLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official fLqd;f()Dintermediary method_11465Lnet/minecraft/class_2660;method_11465()Dnamed getZLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getZ()D
-
getVolume
- Mappings:
Namespace Name Mixin selector official gLqd;g()Fintermediary method_11463Lnet/minecraft/class_2660;method_11463()Fnamed getVolumeLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getVolume()F
-
getPitch
- Mappings:
Namespace Name Mixin selector official hLqd;h()Fintermediary method_11464Lnet/minecraft/class_2660;method_11464()Fnamed getPitchLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getPitch()F
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLqd;a(Lpd;)Vintermediary method_11466Lnet/minecraft/class_2660;method_11466(Lnet/minecraft/class_2602;)Vnamed applyLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-