Interface PlaySoundEvent.AtEntity

All Superinterfaces:
Cancellable, Event, PlaySoundEvent
Enclosing interface:
PlaySoundEvent

public static interface PlaySoundEvent.AtEntity extends PlaySoundEvent
Fired when a sound is played at a specific Entity
  • Method Details

    • player

      Gets the player that this sound was played at, if the sound was played at a player.
      Returns:
      The player, if applicable.