net.minecraftforge.event.entity

## Class PlaySoundAtEntityEvent

- java.lang.Object
- - net.minecraftforge.event.Event
  - - net.minecraftforge.event.entity.EntityEvent
    - - net.minecraftforge.event.entity.PlaySoundAtEntityEvent

-     public class PlaySoundAtEntityEvent
      extends EntityEvent

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent

      `EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing`

    - ### Nested classes/interfaces inherited from class net.minecraftforge.event.Event

      `Event.HasResult, Event.Result`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `String` | `name`
    `float` | `pitch`
    `float` | `volume`

    - ### Fields inherited from class net.minecraftforge.event.entity.EntityEvent

      `entity`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlaySoundAtEntityEvent(Entity entity, String name, float volume, float pitch)`

  - ### Method Summary

    - ### Methods inherited from class net.minecraftforge.event.Event

      `getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### name

          public String name

    - #### volume

          public final float volume

    - #### pitch

          public final float pitch

  - ### Constructor Detail

    - #### PlaySoundAtEntityEvent

          public PlaySoundAtEntityEvent(Entity entity,
                                String name,
                                float volume,
                                float pitch)