implements Packet<ClientGamePacketListener>
| ahh | |
| net.minecraft.network.protocol.game.ClientboundSoundPacket | |
| net.minecraft.class_2767 | |
| net.minecraft.network.packet.s2c.play.PlaySoundS2CPacket |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundPacket> |
| ||||||||
| public static final float |
| ||||||||
| private final Holder<SoundEvent> |
| ||||||||
| private final SoundSource |
| ||||||||
| private final int |
| ||||||||
| private final int |
| ||||||||
| private final int |
| ||||||||
| private final float |
| ||||||||
| private final float |
| ||||||||
| private final long |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Holder<SoundEvent> sound, SoundSource category, double x, double y, double z, float volume, float pitch, long seed) |
| private | (RegistryFriendlyByteBuf buf) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private void |
| ||||||||
| public PacketType<ClientboundSoundPacket> |
| ||||||||
| public void |
| ||||||||
| public Holder<SoundEvent> |
| ||||||||
| public SoundSource |
| ||||||||
| public double |
| ||||||||
| public double |
| ||||||||
| public double |
| ||||||||
| public float |
| ||||||||
| public float |
| ||||||||
| public long |
|