Interface PlaySoundEvent.AtEntity

    • Method Detail

      • player

        Optional<ServerPlayer> player()
        Gets the player that this sound was played at, if the sound was played at a player.
        Returns:
        The player, if applicable.