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 qd
intermediary net/minecraft/class_2660
named net/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private SoundCategory
category
private int
fixedX
private int
fixedY
private int
fixedZ
private Identifier
id
private float
pitch
private float
volume
-
Constructor Summary
Constructors Constructor Description PlaySoundIdS2CPacket()
PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
SoundCategory
getCategory()
float
getPitch()
Identifier
getSoundId()
float
getVolume()
double
getX()
double
getY()
double
getZ()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official a
Lqd;a:Lwb;
intermediary field_12170
Lnet/minecraft/class_2660;field_12170:Lnet/minecraft/class_2960;
named id
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;id:Lnet/minecraft/util/Identifier;
-
category
- Mappings:
Namespace Name Mixin selector official b
Lqd;b:Laeh;
intermediary field_12171
Lnet/minecraft/class_2660;field_12171:Lnet/minecraft/class_3419;
named category
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;category:Lnet/minecraft/sound/SoundCategory;
-
fixedX
private int fixedX- Mappings:
Namespace Name Mixin selector official c
Lqd;c:I
intermediary field_12169
Lnet/minecraft/class_2660;field_12169:I
named fixedX
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedX:I
-
fixedY
private int fixedY- Mappings:
Namespace Name Mixin selector official d
Lqd;d:I
intermediary field_12168
Lnet/minecraft/class_2660;field_12168:I
named fixedY
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedY:I
-
fixedZ
private int fixedZ- Mappings:
Namespace Name Mixin selector official e
Lqd;e:I
intermediary field_12167
Lnet/minecraft/class_2660;field_12167:I
named fixedZ
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedZ:I
-
volume
private float volume- Mappings:
Namespace Name Mixin selector official f
Lqd;f:F
intermediary field_12166
Lnet/minecraft/class_2660;field_12166:F
named volume
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;volume:F
-
pitch
private float pitch- Mappings:
Namespace Name Mixin selector official g
Lqd;g:F
intermediary field_12172
Lnet/minecraft/class_2660;field_12172:F
named pitch
Lnet/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)V
intermediary <init>
Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_243;FF)V
named <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:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSoundId
- Mappings:
Namespace Name Mixin selector official b
Lqd;b()Lwb;
intermediary method_11460
Lnet/minecraft/class_2660;method_11460()Lnet/minecraft/class_2960;
named getSoundId
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getSoundId()Lnet/minecraft/util/Identifier;
-
getCategory
- Mappings:
Namespace Name Mixin selector official c
Lqd;c()Laeh;
intermediary method_11459
Lnet/minecraft/class_2660;method_11459()Lnet/minecraft/class_3419;
named getCategory
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getCategory()Lnet/minecraft/sound/SoundCategory;
-
getX
- Mappings:
Namespace Name Mixin selector official d
Lqd;d()D
intermediary method_11462
Lnet/minecraft/class_2660;method_11462()D
named getX
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getX()D
-
getY
- Mappings:
Namespace Name Mixin selector official e
Lqd;e()D
intermediary method_11461
Lnet/minecraft/class_2660;method_11461()D
named getY
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getY()D
-
getZ
- Mappings:
Namespace Name Mixin selector official f
Lqd;f()D
intermediary method_11465
Lnet/minecraft/class_2660;method_11465()D
named getZ
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getZ()D
-
getVolume
- Mappings:
Namespace Name Mixin selector official g
Lqd;g()F
intermediary method_11463
Lnet/minecraft/class_2660;method_11463()F
named getVolume
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getVolume()F
-
getPitch
- Mappings:
Namespace Name Mixin selector official h
Lqd;h()F
intermediary method_11464
Lnet/minecraft/class_2660;method_11464()F
named getPitch
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getPitch()F
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqd;a(Lpd;)V
intermediary method_11466
Lnet/minecraft/class_2660;method_11466(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-