Class PlaySoundIdS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ud
intermediary net/minecraft/class_2660
named net/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SoundCategory
static final float
private final int
private final int
private final int
private final Identifier
private final float
private final long
private final float
-
Constructor Summary
ConstructorDescriptionPlaySoundIdS2CPacket
(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, long seed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) float
getPitch()
long
getSeed()
float
double
getX()
double
getY()
double
getZ()
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
-
COORDINATE_SCALE
public static final float COORDINATE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lud;a:F
intermediary field_33327
Lnet/minecraft/class_2660;field_33327:F
named COORDINATE_SCALE
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;COORDINATE_SCALE:F
-
id
- Mappings:
Namespace Name Mixin selector official b
Lud;b:Labb;
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 c
Lud;c:Lajx;
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 final int fixedX- Mappings:
Namespace Name Mixin selector official d
Lud;d:I
intermediary field_12169
Lnet/minecraft/class_2660;field_12169:I
named fixedX
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedX:I
-
fixedY
private final int fixedY- Mappings:
Namespace Name Mixin selector official e
Lud;e:I
intermediary field_12168
Lnet/minecraft/class_2660;field_12168:I
named fixedY
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedY:I
-
fixedZ
private final int fixedZ- Mappings:
Namespace Name Mixin selector official f
Lud;f:I
intermediary field_12167
Lnet/minecraft/class_2660;field_12167:I
named fixedZ
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedZ:I
-
volume
private final float volume- Mappings:
Namespace Name Mixin selector official g
Lud;g:F
intermediary field_12166
Lnet/minecraft/class_2660;field_12166:F
named volume
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;volume:F
-
pitch
private final float pitch- Mappings:
Namespace Name Mixin selector official h
Lud;h:F
intermediary field_12172
Lnet/minecraft/class_2660;field_12172:F
named pitch
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;pitch:F
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official i
Lud;i:J
intermediary field_38818
Lnet/minecraft/class_2660;field_38818:J
named seed
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;seed:J
-
-
Constructor Details
-
PlaySoundIdS2CPacket
public PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, long seed) - Mappings:
Namespace Name Mixin selector official <init>
Lud;<init>(Labb;Lajx;Ldwq;FFJ)V
intermediary <init>
Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_243;FFJ)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/Vec3d;FFJ)V
-
PlaySoundIdS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lud;<init>(Lqx;)V
intermediary <init>
Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(Lqx;)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
Lud;b()Labb;
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
Lud;c()Lajx;
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
public double getX()- Mappings:
Namespace Name Mixin selector official d
Lud;d()D
intermediary method_11462
Lnet/minecraft/class_2660;method_11462()D
named getX
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getX()D
-
getY
public double getY()- Mappings:
Namespace Name Mixin selector official e
Lud;e()D
intermediary method_11461
Lnet/minecraft/class_2660;method_11461()D
named getY
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getY()D
-
getZ
public double getZ()- Mappings:
Namespace Name Mixin selector official f
Lud;f()D
intermediary method_11465
Lnet/minecraft/class_2660;method_11465()D
named getZ
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getZ()D
-
getVolume
public float getVolume()- Mappings:
Namespace Name Mixin selector official g
Lud;g()F
intermediary method_11463
Lnet/minecraft/class_2660;method_11463()F
named getVolume
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getVolume()F
-
getPitch
public float getPitch()- Mappings:
Namespace Name Mixin selector official h
Lud;h()F
intermediary method_11464
Lnet/minecraft/class_2660;method_11464()F
named getPitch
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getPitch()F
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector official i
Lud;i()J
intermediary method_43234
Lnet/minecraft/class_2660;method_43234()J
named getSeed
Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getSeed()J
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lud;a(Ltf;)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
-