类 StopSoundS2CPacket
- java.lang.Object
-
- net.minecraft.network.packet.s2c.play.StopSoundS2CPacket
-
- 所有已实现的接口:
Packet<ClientPlayPacketListener>
public class StopSoundS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official svintermediary net/minecraft/class_2770named net/minecraft/network/packet/s2c/play/StopSoundS2CPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private @Nullable SoundCategorycategoryprivate static intCATEGORY_MASKprivate static intSOUND_ID_MASKprivate @Nullable IdentifiersoundId
-
构造器概要
构造器 构造器 说明 StopSoundS2CPacket(@Nullable Identifier soundId, @Nullable SoundCategory category)StopSoundS2CPacket(PacketByteBuf buf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ClientPlayPacketListener clientPlayPacketListener)@Nullable SoundCategorygetCategory()@Nullable IdentifiergetSoundId()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
CATEGORY_MASK
private static final int CATEGORY_MASK
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLsv;a:Iintermediary field_33354Lnet/minecraft/class_2770;field_33354:Inamed CATEGORY_MASKLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;CATEGORY_MASK:I
-
SOUND_ID_MASK
private static final int SOUND_ID_MASK
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLsv;b:Iintermediary field_33355Lnet/minecraft/class_2770;field_33355:Inamed SOUND_ID_MASKLnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;SOUND_ID_MASK:I
-
soundId
@Nullable private final @Nullable Identifier soundId
- Mappings:
Namespace Name Mixin selector official cLsv;c:Lwp;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
@Nullable private final @Nullable SoundCategory category
- Mappings:
Namespace Name Mixin selector official dLsv;d:Laex;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;
-
-
构造器详细资料
-
StopSoundS2CPacket
public StopSoundS2CPacket(@Nullable @Nullable Identifier soundId, @Nullable @Nullable SoundCategory category)
- Mappings:
Namespace Name Mixin selector official <init>Lsv;<init>(Lwp;Laex;)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
-
StopSoundS2CPacket
public StopSoundS2CPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lsv;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2770;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/StopSoundS2CPacket;<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
@Nullable public @Nullable Identifier getSoundId()
- Mappings:
Namespace Name Mixin selector official bLsv;b()Lwp;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
@Nullable public @Nullable SoundCategory getCategory()
- Mappings:
Namespace Name Mixin selector official cLsv;c()Laex;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
public void apply(ClientPlayPacketListener clientPlayPacketListener)
- 指定者:
apply在接口中Packet<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLsv;a(Lpi;)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
-
-