implements Packet<ClientGamePacketListener>
| ud | |
| net.minecraft.network.protocol.game.ClientboundCustomSoundPacket | |
| net.minecraft.class_2660 | |
| net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket | |
| net.minecraft.src.C_5061_ | |
| net.minecraft.network.protocol.game.PacketPlayOutCustomSoundEffect |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final float |
| ||||||||||
| private final ResourceLocation |
| ||||||||||
| private final SoundSource |
| ||||||||||
| private final int |
| ||||||||||
| private final int |
| ||||||||||
| private final int |
| ||||||||||
| private final float |
| ||||||||||
| private final float |
| ||||||||||
| private final long |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch, long seed) |
| public | (FriendlyByteBuf buf) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public void |
| ||||||||||
| public ResourceLocation |
| ||||||||||
| public SoundSource |
| ||||||||||
| public double |
| ||||||||||
| public double |
| ||||||||||
| public double |
| ||||||||||
| public float |
| ||||||||||
| public float |
| ||||||||||
| public long |
| ||||||||||
| public void |
|