implements Packet<ClientGamePacketListener>
| ol | |
| net.minecraft.network.protocol.game.ClientboundCustomSoundPacket | |
| net.minecraft.class_2660 | |
| net.minecraft.network.packet.s2c.play.PlaySoundIdS2CPacket | |
| net.minecraft.network.play.server.SPlaySoundPacket | |
| net.minecraft.server.v1_16_R1.PacketPlayOutCustomSoundEffect | 
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private ResourceLocation | 
  | ||||||||||
| private SoundSource | 
  | ||||||||||
| private int | 
  | ||||||||||
| private int | 
  | ||||||||||
| private int | 
  | ||||||||||
| private float | 
  | ||||||||||
| private float | 
  | 
Constructor summary
| Modifier | Constructor | 
|---|---|
| public | () | 
| public | (ResourceLocation sound, SoundSource category, Vec3 pos, float volume, float pitch) | 
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public void | 
  | ||||||||||
| public void | 
  | ||||||||||
| public void | 
  | ||||||||||
| public ResourceLocation | 
  | ||||||||||
| public SoundSource | 
  | ||||||||||
| public double | 
  | ||||||||||
| public double | 
  | ||||||||||
| public double | 
  | ||||||||||
| public float | 
  | ||||||||||
| public float | 
  |