implements Packet<ClientPlayPacketListener>
| net.minecraft.network.protocol.game.ClientboundSoundEntityPacket | |
| net.minecraft.network.protocol.game.ClientboundSoundEntityPacket | |
| net.minecraft.class_2765 | |
| net.minecraft.network.packet.s2c.play.PlaySoundFromEntityS2CPacket |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final PacketCodec<RegistryByteBuf, PlaySoundFromEntityS2CPacket> |
| ||||||||
| private final RegistryEntry<SoundEvent> |
| ||||||||
| private final SoundCategory |
| ||||||||
| private final int |
| ||||||||
| private final float |
| ||||||||
| private final float |
| ||||||||
| private final long |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (RegistryEntry<SoundEvent> sound, SoundCategory category, Entity entity, float volume, float pitch, long seed) |
| private | (RegistryByteBuf buf) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private void |
| ||||||||
| public PacketType<PlaySoundFromEntityS2CPacket> |
| ||||||||
| public void |
| ||||||||
| public RegistryEntry<SoundEvent> |
| ||||||||
| public SoundCategory |
| ||||||||
| public int |
| ||||||||
| public float |
| ||||||||
| public float |
| ||||||||
| public long |
|