类 PlaySoundIdS2CPacket
- java.lang.Object
-
- net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket
-
- 所有已实现的接口:
Packet<ClientPlayPacketListener>
public class PlaySoundIdS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qiintermediary net/minecraft/class_2660named net/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private SoundCategorycategorystatic floatCOORDINATE_SCALEprivate intfixedXprivate intfixedYprivate intfixedZprivate Identifieridprivate floatpitchprivate floatvolume
-
构造器概要
构造器 构造器 说明 PlaySoundIdS2CPacket(PacketByteBuf buf)PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ClientPlayPacketListener clientPlayPacketListener)SoundCategorygetCategory()floatgetPitch()IdentifiergetSoundId()floatgetVolume()doublegetX()doublegetY()doublegetZ()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
COORDINATE_SCALE
public static final float COORDINATE_SCALE
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLqi;a:Fintermediary field_33327Lnet/minecraft/class_2660;field_33327:Fnamed COORDINATE_SCALELnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;COORDINATE_SCALE:F
-
id
private final Identifier id
- Mappings:
Namespace Name Mixin selector official bLqi;b:Lwp;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
private final SoundCategory category
- Mappings:
Namespace Name Mixin selector official cLqi;c:Laex;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 final int fixedX
- Mappings:
Namespace Name Mixin selector official dLqi;d:Iintermediary field_12169Lnet/minecraft/class_2660;field_12169:Inamed fixedXLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedX:I
-
fixedY
private final int fixedY
- Mappings:
Namespace Name Mixin selector official eLqi;e:Iintermediary field_12168Lnet/minecraft/class_2660;field_12168:Inamed fixedYLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedY:I
-
fixedZ
private final int fixedZ
- Mappings:
Namespace Name Mixin selector official fLqi;f:Iintermediary field_12167Lnet/minecraft/class_2660;field_12167:Inamed fixedZLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;fixedZ:I
-
volume
private final float volume
- Mappings:
Namespace Name Mixin selector official gLqi;g:Fintermediary field_12166Lnet/minecraft/class_2660;field_12166:Fnamed volumeLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;volume:F
-
pitch
private final float pitch
- Mappings:
Namespace Name Mixin selector official hLqi;h:Fintermediary field_12172Lnet/minecraft/class_2660;field_12172:Fnamed pitchLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;pitch:F
-
-
构造器详细资料
-
PlaySoundIdS2CPacket
public PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)
- Mappings:
Namespace Name Mixin selector official <init>Lqi;<init>(Lwp;Laex;Ldma;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
-
PlaySoundIdS2CPacket
public PlaySoundIdS2CPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lqi;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2660;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
方法详细资料
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSoundId
public Identifier getSoundId()
- Mappings:
Namespace Name Mixin selector official bLqi;b()Lwp;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
public SoundCategory getCategory()
- Mappings:
Namespace Name Mixin selector official cLqi;c()Laex;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
public double getX()
- Mappings:
Namespace Name Mixin selector official dLqi;d()Dintermediary method_11462Lnet/minecraft/class_2660;method_11462()Dnamed getXLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getX()D
-
getY
public double getY()
- Mappings:
Namespace Name Mixin selector official eLqi;e()Dintermediary method_11461Lnet/minecraft/class_2660;method_11461()Dnamed getYLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getY()D
-
getZ
public double getZ()
- Mappings:
Namespace Name Mixin selector official fLqi;f()Dintermediary method_11465Lnet/minecraft/class_2660;method_11465()Dnamed getZLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getZ()D
-
getVolume
public float getVolume()
- Mappings:
Namespace Name Mixin selector official gLqi;g()Fintermediary method_11463Lnet/minecraft/class_2660;method_11463()Fnamed getVolumeLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getVolume()F
-
getPitch
public float getPitch()
- Mappings:
Namespace Name Mixin selector official hLqi;h()Fintermediary method_11464Lnet/minecraft/class_2660;method_11464()Fnamed getPitchLnet/minecraft/network/packet/s2c/play/PlaySoundIdS2CPacket;getPitch()F
-
apply
public void apply(ClientPlayPacketListener clientPlayPacketListener)
- 指定者:
apply在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLqi;a(Lpi;)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
-
-